From ae38eed1fcf0ba5d10d0838f8cbc8de4ddf477bf Mon Sep 17 00:00:00 2001 From: Sam Hampton Date: Fri, 22 Mar 2024 15:37:09 +0000 Subject: [PATCH] fix: add shell parameter --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index c13c4c0..11dd952 100644 --- a/action.yml +++ b/action.yml @@ -36,6 +36,7 @@ runs: uses: aws-actions/amazon-ecr-login@v2 - name: Image Name id: img-name + shell: bash run: | if [[ "${{ github.event_name }}" == "pull_request" ]]; then echo "ecr-repo-name=${{inputs.aws-account-id}}.dkr.ecr.${{ inputs.aws-region }}.amazonaws.com/alpha-image/${{ inputs.ecr-repo-name }}" >>"${GITHUB_OUTPUT}"