mirror of https://github.com/apache/superset.git
fix(ephemeral): fix ephemeral builds in PR (#27056)
This commit is contained in:
parent
fd06ff3745
commit
3700326c35
|
@ -122,7 +122,10 @@ jobs:
|
||||||
|
|
||||||
- name: Build ephemeral env image
|
- name: Build ephemeral env image
|
||||||
run: |
|
run: |
|
||||||
./scripts/build_docker.py "ci" "pull_request"
|
./scripts/build_docker.py \
|
||||||
|
"ci" \
|
||||||
|
"pull_request" \
|
||||||
|
--build_context_ref ${{ github.event.issue.number }}
|
||||||
|
|
||||||
- name: Configure AWS credentials
|
- name: Configure AWS credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v4
|
uses: aws-actions/configure-aws-credentials@v4
|
||||||
|
@ -141,7 +144,7 @@ jobs:
|
||||||
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
|
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
|
||||||
ECR_REPOSITORY: superset-ci
|
ECR_REPOSITORY: superset-ci
|
||||||
SHA: ${{ steps.get-sha.outputs.sha }}
|
SHA: ${{ steps.get-sha.outputs.sha }}
|
||||||
IMAGE_TAG: pr-${{ github.event.issue.number }}-ci
|
IMAGE_TAG: ${{ steps.get-sha.outputs.sha }}-ci
|
||||||
run: |
|
run: |
|
||||||
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
|
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
|
||||||
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$SHA
|
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$SHA
|
||||||
|
|
Loading…
Reference in New Issue