You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/02/08 23:58:22 UTC

(superset) 01/01: fix(ephemeral) last try fixing this GH action

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

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

commit f3906baa922e2ec1ef2985fb551841c19f279cff
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Thu Feb 8 15:58:07 2024 -0800

    fix(ephemeral) last try fixing this GH action
---
 .github/workflows/ephemeral-env.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/ephemeral-env.yml b/.github/workflows/ephemeral-env.yml
index 3d78ddde6b..8cc7966e00 100644
--- a/.github/workflows/ephemeral-env.yml
+++ b/.github/workflows/ephemeral-env.yml
@@ -146,7 +146,6 @@ jobs:
           SHA: ${{ steps.get-sha.outputs.sha }}
           IMAGE_TAG: apache/superset:${{ steps.get-sha.outputs.sha }}-ci
         run: |
-          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
 
@@ -182,7 +181,7 @@ jobs:
         aws ecr describe-images \
         --registry-id $(echo "${{ steps.login-ecr.outputs.registry }}" | grep -Eo "^[0-9]+") \
         --repository-name superset-ci \
-        --image-ids imageTag=pr-${{ github.event.issue.number }}
+        --image-ids imageTag=${{ steps.get-sha.outputs.sha }}
 
     - name: Fail on missing container image
       if: steps.check-image.outcome == 'failure'