docker / docker/buildx

Enable immutable GitHub releases

Open
#3,772 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement status/needs-maintainer-decision
Dominant language
Go
Stars
4.5k
Forks
682
Avg merge
2d 14h
Merged PRs (30d)
29

Description

Description

GitHub releases for the buildx project are currently mutable which is problematic when using the docker/setup-buildx-action as it downloads the buildx binary directly from the buildx GitHub releases^1 and it only allows to pin the buildx version (e.g., v0.33.0) rather than pinning its full length SHA256 digest and doesn't appear to be verifying the integrity of the downloaded file prior to its execution ^2 ^3

While this could be fixed in the action itself, the easiest way may be to enable tag immutability in the settings of the repository (https://github.com/docker/buildx) which would also avoid increasing code complexity in docker/setup-buildx-action actions and any other action or component that download straight from GitHub releases, as well supporting other use-cases that users may have other than just docker/setup-buildx-action.

Could it be possible for https://github.com/docker/buildx to enable tag immutability? Or is it tricky to implement in this project?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the requested tag immutability setting for docker/buildx and the linked install.ts and src/main.ts references to understand which downloads depend on mutable releases. Confirm whether repository settings can enforce immutable tags and whether enabling them affects the cited release consumers; done means the setting is enabled or the blocker is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
release, security
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.