From ba24abac78ff425c28b607f3ab58668446496aa9 Mon Sep 17 00:00:00 2001 From: Jason N <33561705+JasonN3@users.noreply.github.com> Date: Tue, 19 Mar 2024 14:40:14 -0400 Subject: [PATCH] fix repo reference --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e3cdb69..55944f7 100644 --- a/action.yml +++ b/action.yml @@ -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 }}"