build: git context query format support#809
Merged
Merged
Conversation
crazy-max
commented
Oct 14, 2025
Comment on lines
+63
to
+67
| if (await this.buildx.versionSatisfies('>=0.29.0')) { | ||
| format = 'query'; | ||
| } else { | ||
| format = 'fragment'; | ||
| } |
Member
Author
There was a problem hiding this comment.
Defaults to query format since Buildx 0.29.0 related to docker/buildx#3415
There will be a follow-up on build-push-action and bake-action to set BUILDX_SEND_GIT_QUERY_AS_INPUT accordingly.
Member
There was a problem hiding this comment.
This still depends on the dockerfile version as well, so not sure if we can change default before BUILDX_SEND_GIT_QUERY_AS_INPUT
Member
Author
There was a problem hiding this comment.
Updated so it defaults to fragment unless BUILDX_SEND_GIT_QUERY_AS_INPUT=true and Buildx version is >=0.29.0.
crazy-max
commented
Oct 14, 2025
crazy-max
marked this pull request as ready for review
October 14, 2025 11:00
crazy-max
force-pushed
the
git-query-url
branch
from
October 14, 2025 15:51
0fe05c4 to
da51371
Compare
crazy-max
force-pushed
the
git-query-url
branch
2 times, most recently
from
October 22, 2025 11:39
f38a018 to
caf0627
Compare
crazy-max
marked this pull request as draft
March 6, 2026 09:14
crazy-max
force-pushed
the
git-query-url
branch
3 times, most recently
from
March 8, 2026 19:41
d57f315 to
23934f7
Compare
crazy-max
marked this pull request as ready for review
March 9, 2026 09:28
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
tonistiigi
approved these changes
Mar 9, 2026
This was referenced Apr 1, 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.
follow-up: