This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch fix_eph
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 1608e17766f057e8d9c0e99f87bb60933558d67f
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Thu Feb 8 14:08:28 2024 -0800

    fix(ephemeral): fix tagging command for ECR
---
 .github/workflows/ephemeral-env.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ephemeral-env.yml 
b/.github/workflows/ephemeral-env.yml
index 23bc5a428c..152f0b26a3 100644
--- a/.github/workflows/ephemeral-env.yml
+++ b/.github/workflows/ephemeral-env.yml
@@ -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:

Reply via email to