Skip to content

Commit 480dc09

Browse files
mallendemclaude
andcommitted
fix: disable buildx binary cache in release workflow to mitigate cache poisoning
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 7a94621 commit 480dc09

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ jobs:
125125

126126
- name: Set up Docker Buildx
127127
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@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0

0 commit comments

Comments
 (0)