Skip to content

Commit

Permalink
Changed image_tag format
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Oct 28, 2024
1 parent 034e9bf commit 851f222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/actions/deploy-to-aws/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ runs:
id: ecr-check
shell: bash
run: |
IMAGE_TAG=${{ inputs.image_name }}:${{ inputs.short_sha}}
IMAGE_TAG=${{ inputs.image_name }}-${{ inputs.short_sha}}
REPOSITORY_NAME=${{ inputs.app_name }}-ecr-repo-${{ inputs.environment }}
IMAGE_EXISTS=$(aws ecr describe-images --repository-name $REPOSITORY_NAME --query "imageDetails[?contains(imageTags, '$IMAGE_TAG')]" --output text)
Expand Down

0 comments on commit 851f222

Please sign in to comment.