Skip to content

forward v0.37.2 patches - #4121

Merged
tonistiigi merged 2 commits into
docker:masterfrom
crazy-max:forward-0.37.2-patches
Sep 30, 2026
Merged

tonistiigi merged 2 commits into
docker:masterfrom
crazy-max:forward-0.37.2-patches

Conversation

@crazy-max

Copy link
Copy Markdown
Member

No description provided.

Reject rawjson bake builds when required entitlements have not been granted.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 8e78175d68ccc0d76c5294649527839b24e90510)
(cherry picked from commit 7b6b630)
A secret with only an id falls back to reading the file named by the id when
no environment variable with that name exists, but the entitlement check only
looked at an explicit src. Resolve the source the same way BuildKit does so
the implicit file read needs fs.read permission.

Named contexts using oci-layout:// were treated as relative paths and
resolved under the working directory, so any layout directory was allowed.
Parse the reference and check the actual layout path instead.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit f7979d8a5b2e363129ef9850950cce0c5c87c031)
(cherry picked from commit 69a8e58)
@tonistiigi
tonistiigi merged commit 8813084 into docker:master Sep 30, 2026
163 checks passed
@crazy-max
crazy-max deleted the forward-0.37.2-patches branch September 30, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants