Skip to content

TIKA-4703: Pin docker/* actions to SHA digests per ASF policy (INFRA-27837)#2779

Merged
nddipiazza merged 1 commit intomainfrom
TIKA-4703-docker-ci-fixes
Apr 22, 2026
Merged

TIKA-4703: Pin docker/* actions to SHA digests per ASF policy (INFRA-27837)#2779
nddipiazza merged 1 commit intomainfrom
TIKA-4703-docker-ci-fixes

Conversation

@nddipiazza
Copy link
Copy Markdown
Contributor

Summary

Pin all docker/* GitHub Actions to exact commit SHAs to comply with the Apache GitHub Actions allowlist policy, as recommended by Dianjin Wang (ASF Infra) on INFRA-27837. This mirrors the same fix applied in apache/cloudberry#1688.

Changes

Action Before After
docker/setup-buildx-action @v3 @8d2750c68a42422c14e847fe6c8ac0403b4cbd6f (v3.12.0)
docker/login-action @v3 @c94ce9fb468520275223c153574b00df6fe4bcc9 (v3.7.0)
docker/build-push-action @v6 @10e90e3645eae34f1e60eeb005ba3a3d33f178e8 (v6.19.2)
docker/setup-qemu-action @v3 action Native CLI: docker run --privileged tonistiigi/binfmt --install all

docker/setup-qemu-action is replaced with a native CLI step because it is still not on the ASF allowlist (noted by INFRA team as an open issue).

Critical Files

  • .github/workflows/docker-snapshot.yml
  • .github/workflows/docker-release.yml

…27837)

ASF GitHub Actions policy requires actions to be pinned to exact commit
SHAs rather than floating version tags. Align with the same approach used
in apache/cloudberry PR #1688 (per guidance from Dianjin Wang on INFRA-27837).

- docker/setup-buildx-action@v3 -> @8d2750c68a42422c14e847fe6c8ac0403b4cbd6f (v3.12.0)
- docker/login-action@v3        -> @c94ce9fb468520275223c153574b00df6fe4bcc9 (v3.7.0)
- docker/build-push-action@v6  -> @10e90e3645eae34f1e60eeb005ba3a3d33f178e8 (v6.19.2)
- docker/setup-qemu-action      -> replaced with native CLI (still not allowlisted per INFRA-27837)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nddipiazza nddipiazza force-pushed the TIKA-4703-docker-ci-fixes branch from 9f8918e to 3492c42 Compare April 22, 2026 19:18
@nddipiazza nddipiazza merged commit 0ae889f into main Apr 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant