豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 3700326

Browse files
authored
fix(ephemeral): fix ephemeral builds in PR (#27056)
1 parent fd06ff3 commit 3700326

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ephemeral-env.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,10 @@ jobs:
122122

123123
- name: Build ephemeral env image
124124
run: |
125-
./scripts/build_docker.py "ci" "pull_request"
125+
./scripts/build_docker.py \
126+
"ci" \
127+
"pull_request" \
128+
--build_context_ref ${{ github.event.issue.number }}
126129
127130
- name: Configure AWS credentials
128131
uses: aws-actions/configure-aws-credentials@v4
@@ -141,7 +144,7 @@ jobs:
141144
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
142145
ECR_REPOSITORY: superset-ci
143146
SHA: ${{ steps.get-sha.outputs.sha }}
144-
IMAGE_TAG: pr-${{ github.event.issue.number }}-ci
147+
IMAGE_TAG: ${{ steps.get-sha.outputs.sha }}-ci
145148
run: |
146149
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
147150
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$SHA

0 commit comments

Comments
 (0)