fix: disable buildx binary cache in release workflow#2572
Open
fix: disable buildx binary cache in release workflow#2572
Conversation
…e 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>
🤖 GitHub commentsJust comment with:
|
There was a problem hiding this comment.
Pull request overview
Updates the release workflow to reduce supply-chain risk during Docker image publishing by disabling caching of the Buildx binary in GitHub Actions.
Changes:
- Configure
docker/setup-buildx-actionin thepublish-dockerjob to download the Buildx binary fresh each run by settingcache-binary: false.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
v1v
approved these changes
Mar 6, 2026
xrmx
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cache-binary: falsetodocker/setup-buildx-actionin thepublish-dockerjob ofrelease.ymldocker.elastic.co/observability/apm-agent-pythonImpact
🤖 Generated with Claude Code