1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

fix repo reference

This commit is contained in:
Jason N 2024-03-19 14:40:14 -04:00 committed by GitHub
parent 12d7515a8b
commit ba24abac78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,10 +136,11 @@ runs:
ACTION_REF: ${{ github.action_ref }} ACTION_REF: ${{ github.action_ref }}
shell: bash shell: bash
run: | 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 # Check if running inside01 of the action repo
if [[ -z "${ACTION_REPO}" ]] if [[ -z "${ACTION_REPO}" ]]
then then
image=$(echo "ghcr.io/${{ github.repository }}" | tr [:upper:] [:lower:])
if [[ -n "${{ github.event.issue.number }}" ]] if [[ -n "${{ github.event.issue.number }}" ]]
then then
tag="pr-${{ github.event.issue.number }}" tag="pr-${{ github.event.issue.number }}"