mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
fix repo reference (#83)
This commit is contained in:
parent
12d7515a8b
commit
2a907a79c3
1 changed files with 2 additions and 1 deletions
|
|
@ -136,10 +136,11 @@ runs:
|
|||
ACTION_REF: ${{ github.action_ref }}
|
||||
shell: bash
|
||||
run: |
|
||||
image=$(echo "ghcr.io/${{ github.repository }}" | tr [:upper:] [:lower:])
|
||||
image=$(echo "ghcr.io/${ACTION_REPO}" | tr [:upper:] [:lower:])
|
||||
# Check if running inside01 of the action repo
|
||||
if [[ -z "${ACTION_REPO}" ]]
|
||||
then
|
||||
image=$(echo "ghcr.io/${{ github.repository }}" | tr [:upper:] [:lower:])
|
||||
if [[ -n "${{ github.event.issue.number }}" ]]
|
||||
then
|
||||
tag="pr-${{ github.event.issue.number }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue