fix(ephemeral): fix tagging command for ECR (#27057)

This commit is contained in:
Maxime Beauchemin 2024-02-08 14:21:15 -08:00 committed by GitHub
parent 3700326c35
commit 81301ee54e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@ jobs:
SHA: ${{ steps.get-sha.outputs.sha }}
IMAGE_TAG: ${{ steps.get-sha.outputs.sha }}-ci
run: |
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$SHA
docker tag $IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker tag $IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$SHA
docker push -a $ECR_REGISTRY/$ECR_REPOSITORY
ephemeral-env-up: