This is an automated email from the ASF dual-hosted git repository.
sarutak pushed a commit to branch branch-4.x
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.x by this push:
new aa96b6223d64 [SPARK-56724][INFRA][4.x] Make docker/* GitHub Actions
up-to-date
aa96b6223d64 is described below
commit aa96b6223d64fb661a23cd0f16a174d5666ccc9c
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Jun 17 12:31:10 2026 +0900
[SPARK-56724][INFRA][4.x] Make docker/* GitHub Actions up-to-date
### What changes were proposed in this pull request?
Update the commit SHAs of the following Docker-related GitHub Actions in
`branch-4.x` to match the ones registered in the Apache organization's GitHub
Actions allowlist:
- `docker/login-action`
- `docker/setup-qemu-action`
- `docker/setup-buildx-action`
- `docker/build-push-action`
### Why are the changes needed?
CI on `branch-4.x` fails with the error:
> The actions docker/login-actionc94ce9fb...,
docker/setup-qemu-action29109295..., docker/setup-buildx-action8d2750c6..., and
docker/build-push-action10e90e36... are not allowed in apache/spark because all
actions must be from a repository owned by your enterprise, created by GitHub,
or match one of the patterns...
https://github.com/apache/spark/actions/runs/27544506457
The `master` branch was already updated to the new SHAs, but `branch-4.x`
still had the old ones that are no longer in the allowlist.
- #55687
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
CI should pass with this change.
### Was this patch authored or co-authored using generative AI tooling?
Kiro CLI / Claude
Closes #56517 from sarutak/update-docker-actions-branch-4x.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
---
.github/workflows/build_and_test.yml | 16 +++++++-------
.github/workflows/build_infra_images_cache.yml | 30 +++++++++++++-------------
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index a07ec104dc64..3e9f79306b25 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -485,7 +485,7 @@ jobs:
packages: write
steps:
- name: Login to GitHub Container Registry
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
+ uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121
with:
registry: ghcr.io
username: ${{ github.actor }}
@@ -505,13 +505,13 @@ jobs:
git -c user.name='Apache Spark Test Account' -c
user.email='[email protected]' merge --no-commit --progress --squash
FETCH_HEAD
git -c user.name='Apache Spark Test Account' -c
user.email='[email protected]' commit -m "Merged commit" --allow-empty
- name: Set up QEMU
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392
+ uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a
- name: Set up Docker Buildx
- uses:
docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
+ uses:
docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
- name: Build and push for branch-3.5
if: inputs.branch == 'branch-3.5'
id: docker_build
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/infra/
push: true
@@ -522,7 +522,7 @@ jobs:
- name: Build and push (Documentation)
if: ${{ inputs.branch != 'branch-3.5' &&
fromJson(needs.precondition.outputs.required).docs == 'true' &&
hashFiles('dev/spark-test-image/docs/Dockerfile') != '' }}
id: docker_build_docs
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/docs/
push: true
@@ -533,7 +533,7 @@ jobs:
- name: Build and push (Linter)
if: ${{ inputs.branch != 'branch-3.5' &&
fromJson(needs.precondition.outputs.required).lint == 'true' &&
hashFiles('dev/spark-test-image/lint/Dockerfile') != '' }}
id: docker_build_lint
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/lint/
push: true
@@ -544,7 +544,7 @@ jobs:
- name: Build and push (SparkR)
if: ${{ inputs.branch != 'branch-3.5' &&
fromJson(needs.precondition.outputs.required).sparkr == 'true' &&
hashFiles('dev/spark-test-image/sparkr/Dockerfile') != '' }}
id: docker_build_sparkr
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/sparkr/
push: true
@@ -556,7 +556,7 @@ jobs:
if: ${{ inputs.branch != 'branch-3.5' &&
(fromJson(needs.precondition.outputs.required).pyspark == 'true' ||
fromJson(needs.precondition.outputs.required).pyspark-pandas == 'true') &&
env.PYSPARK_IMAGE_TO_TEST != '' }}
id: docker_build_pyspark
env: ${{ fromJSON(inputs.envs) }}
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/${{ env.PYSPARK_IMAGE_TO_TEST }}/
push: true
diff --git a/.github/workflows/build_infra_images_cache.yml
b/.github/workflows/build_infra_images_cache.yml
index f59f11dce8ee..d195f07c31ff 100644
--- a/.github/workflows/build_infra_images_cache.yml
+++ b/.github/workflows/build_infra_images_cache.yml
@@ -52,11 +52,11 @@ jobs:
- name: Checkout Spark repository
uses: actions/checkout@v6
- name: Set up QEMU
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392
+ uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a
- name: Set up Docker Buildx
- uses:
docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
+ uses:
docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
- name: Login to DockerHub
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
+ uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121
with:
registry: ghcr.io
username: ${{ github.actor }}
@@ -64,7 +64,7 @@ jobs:
- name: Build and push
id: docker_build
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/infra/
push: true
@@ -77,7 +77,7 @@ jobs:
if: hashFiles('dev/spark-test-image/docs/Dockerfile') != ''
id: docker_build_docs
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/docs/
push: true
@@ -91,7 +91,7 @@ jobs:
if: hashFiles('dev/spark-test-image/lint/Dockerfile') != ''
id: docker_build_lint
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/lint/
push: true
@@ -105,7 +105,7 @@ jobs:
if: hashFiles('dev/spark-test-image/sparkr/Dockerfile') != ''
id: docker_build_sparkr
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/sparkr/
push: true
@@ -119,7 +119,7 @@ jobs:
if: hashFiles('dev/spark-test-image/python-minimum/Dockerfile') != ''
id: docker_build_pyspark_python_minimum
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/python-minimum/
push: true
@@ -133,7 +133,7 @@ jobs:
if: hashFiles('dev/spark-test-image/python-311/Dockerfile') != ''
id: docker_build_pyspark_python_311
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/python-311/
push: true
@@ -147,7 +147,7 @@ jobs:
if:
hashFiles('dev/spark-test-image/python-312-classic-only/Dockerfile') != ''
id: docker_build_pyspark_python_312_classic_only
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/python-312-classic-only/
push: true
@@ -161,7 +161,7 @@ jobs:
if: hashFiles('dev/spark-test-image/python-312/Dockerfile') != ''
id: docker_build_pyspark_python_312
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/python-312/
push: true
@@ -175,7 +175,7 @@ jobs:
if: hashFiles('dev/spark-test-image/python-312-pandas-3/Dockerfile')
!= ''
id: docker_build_pyspark_python_312_pandas_3
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/python-312-pandas-3/
push: true
@@ -189,7 +189,7 @@ jobs:
if: hashFiles('dev/spark-test-image/python-313/Dockerfile') != ''
id: docker_build_pyspark_python_313
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/python-313/
push: true
@@ -203,7 +203,7 @@ jobs:
if: hashFiles('dev/spark-test-image/python-314/Dockerfile') != ''
id: docker_build_pyspark_python_314
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/python-314/
push: true
@@ -217,7 +217,7 @@ jobs:
if: hashFiles('dev/spark-test-image/python-314-nogil/Dockerfile') != ''
id: docker_build_pyspark_python_314_nogil
continue-on-error: true
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: ./dev/spark-test-image/python-314-nogil/
push: true
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]