Skip to content

Commit

Permalink
Merge pull request #23 from 0xPolygon/update_ecr_image_tag_for_reruns
Browse files Browse the repository at this point in the history
Update ECR image tag to handle rerun on same code
  • Loading branch information
sshrihar authored Jan 9, 2025
2 parents 7e7b225 + 86c4382 commit 81036c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ecs_deploy_docker_taskdef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
id: build-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ github.sha }}
IMAGE_TAG: "${{ github.sha }}-${{ github.run_id }}"
ECR_REPOSITORY: ${{ inputs.app_name }}-ecr
run: |
cd code
Expand Down

0 comments on commit 81036c2

Please sign in to comment.