Skip to content

Commit

Permalink
Fix image tagging in CI on main (#2301)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisanti authored Feb 3, 2023
1 parent b9b80c3 commit a06f21b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
- name: Tag and upload image
run: |
IMAGE_TAG="$(./.github/scripts/docker-image-hash)"
docker tag "${{ env.ecr_repository }}:${IMAGE_TAG}" "${{ env.ecr_repository }}:main"
docker tag "smithy-rs-base-image:${IMAGE_TAG}" "${{ env.ecr_repository }}:${IMAGE_TAG}"
docker tag "smithy-rs-base-image:${IMAGE_TAG}" "${{ env.ecr_repository }}:main"
docker push "${{ env.ecr_repository }}:${IMAGE_TAG}"
docker push "${{ env.ecr_repository }}:main"
Expand Down

0 comments on commit a06f21b

Please sign in to comment.