Skip to content

Commit 60da68a

Browse files
mallendemclaude
andauthored
fix: disable buildx binary cache in release workflow to mitigate cache poisoning (#2572)
Explicitly set `cache-binary: false` on docker/setup-buildx-action in the publish-docker job to prevent potential cache poisoning attacks where a compromised buildx binary could affect Docker image builds pushed to the Elastic container registry. Ref: elastic/observability-robots#3264 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 03fb372 commit 60da68a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ jobs:
124124
- uses: actions/checkout@v6
125125

126126
- name: Set up Docker Buildx
127-
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
127+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
128+
with:
129+
cache-binary: false
128130

129131
- name: Log in to the Elastic Container registry
130132
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0

0 commit comments

Comments
 (0)