mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
remove refs to repo
This commit is contained in:
parent
e8288bd5a9
commit
d24a21a449
1 changed files with 5 additions and 6 deletions
11
action.yml
11
action.yml
|
|
@ -136,14 +136,13 @@ runs:
|
||||||
ACTION_REF: ${{ github.action_ref }}
|
ACTION_REF: ${{ github.action_ref }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
image="ghcr.io/jasonn3/build-container-installer"
|
image=$(echo "ghcr.io/${{ github.repository }}" | tr [:upper:] [:lower:])
|
||||||
# Check if running inside of the action repo
|
# Check if running inside01 of the action repo
|
||||||
if [[ -z "${ACTION_REPO}" || "${ACTION_REPO}" == "${{ github.repository }}" ]]
|
if [[ -z "${ACTION_REPO}" ]]
|
||||||
then
|
then
|
||||||
if [[ "${{ github.ref_name }}" =~ (.*)/merge ]]
|
if [[ -n "${{ github.event.issue.number }}" ]]
|
||||||
then
|
then
|
||||||
tag="pr-${BASH_REMATCH[1]}"
|
tag="pr-${{ github.event.issue.number }}"
|
||||||
image="docker.io/jasonn3/build-container-installer"
|
|
||||||
else
|
else
|
||||||
tag="${{ github.ref_name }}"
|
tag="${{ github.ref_name }}"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue