Skip to content

build/bake: enable fetch-by-commit for git contexts#204

Merged
crazy-max merged 1 commit into
mainfrom
fetch-by-commit
May 20, 2026
Merged

build/bake: enable fetch-by-commit for git contexts#204
crazy-max merged 1 commit into
mainfrom
fetch-by-commit

Conversation

@crazy-max
Copy link
Copy Markdown
Member

@crazy-max crazy-max commented May 18, 2026

fixes #194

The workflow scripts now pass fetch-by-commit=true as a Git context attribute for generated build and bake source contexts, except when the workflow ref is a tag. This keeps the symbolic ref in the Git context URL while pinning the checksum.

@crazy-max crazy-max force-pushed the fetch-by-commit branch 2 times, most recently from 29df631 to 7ac9361 Compare May 18, 2026 12:24
@crazy-max crazy-max changed the title build/bake: enable fetch-by-commit for generated git contexts build/bake: enable fetch-by-commit for git contexts May 18, 2026
@crazy-max crazy-max force-pushed the fetch-by-commit branch 2 times, most recently from 81703b8 to 3c15c58 Compare May 20, 2026 15:28
@crazy-max crazy-max requested a review from tonistiigi May 20, 2026 15:29
@crazy-max crazy-max marked this pull request as ready for review May 20, 2026 15:30
@crazy-max crazy-max requested a review from a team as a code owner May 20, 2026 15:30
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max merged commit 0738332 into main May 20, 2026
183 checks passed
@crazy-max crazy-max deleted the fetch-by-commit branch May 20, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pushing to a branch while a workflow build have been queued on the same branch makes it fail

2 participants