Skip to content

Commit 0d8394f

Browse files
committed
[SPARK-56119] Sync docker-related GitHub Actions versions to the ASF approved patterns
### What changes were proposed in this pull request? This PR aims to sync `docker`-related GitHub Actions versions to the ASF approved patterns. ### Why are the changes needed? Currently, the CI is blocked by the ASF check because of the recent change. - https://github.com/apache/spark-connect-swift/actions/runs/23365458370 - apache/infrastructure-actions#547 > The actions docker/setup-qemu-actionv3, docker/setup-buildx-actionv3, docker/login-actionv3, and docker/build-push-actionv6 are not allowed in apache/spark-connect-swift because all actions must be from a repository owned by your enterprise, created by GitHub, or match one of the patterns As of now, the updated patterns are the following. - https://github.com/apache/infrastructure-actions/blob/07f5f9d2b05fe0ec9886e3ef0a9d79797817f0cb/approved_patterns.yml#L100-L104 ``` - docker/build-push-action10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - docker/login-actionc94ce9fb468520275223c153574b00df6fe4bcc9 - docker/metadata-actionc299e40c65443455700f0fdfc63efafe5b349051 - docker/setup-buildx-action8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - docker/setup-qemu-action29109295f81e9208d7d86ff1c6c12d2833863392 ``` ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual review because the updated CI should be triggered manually. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-4-6) Closes #567 from dongjoon-hyun/SPARK-56119. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 3b14193 commit 0d8394f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish_snapshot_dockerhub.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
branch: ${{ fromJSON( inputs.branch || '["main"]' ) }}
2525
steps:
2626
- name: Set up QEMU
27-
uses: docker/setup-qemu-action@v3
27+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392
2828
- name: Set up Docker Buildx
29-
uses: docker/setup-buildx-action@v3
29+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
3030
- name: Login to Docker Hub
31-
uses: docker/login-action@v3
31+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
3232
with:
3333
username: ${{ secrets.DOCKERHUB_USER }}
3434
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
ref: ${{ matrix.branch }}
3939
- name: Build and push
40-
uses: docker/build-push-action@v6
40+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
4141
with:
4242
# build cache on Github Actions, See: https://docs.docker.com/build/cache/backends/gha/#using-dockerbuild-push-action
4343
cache-from: type=gha

0 commit comments

Comments
 (0)