Update buildkit to v1.29; fix authprovider API change in buildkit v1.29#4214
Open
eriknordmark wants to merge 5 commits intolinuxkit:masterfrom
Open
Update buildkit to v1.29; fix authprovider API change in buildkit v1.29#4214eriknordmark wants to merge 5 commits intolinuxkit:masterfrom
eriknordmark wants to merge 5 commits intolinuxkit:masterfrom
Conversation
This is to handle CVE-2026-33748 and CVE-2026-33747. Signed-off-by: eriknordmark <erik@zededa.com>
v2.0.2 was built with Go 1.24 and fails against go.mod targeting Go 1.25.5. v2.11.4 is the latest stable release built with Go 1.25+. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: eriknordmark <erik@zededa.com>
Regenerate vendor directory and update go.mod/go.sum to match the buildkit v1.29 dependency updates. Signed-off-by: eriknordmark <erik@zededa.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
DockerAuthProviderConfig.ConfigFile was removed in buildkit v1.29. Replace with AuthConfigProvider callback wrapping cf.GetAuthConfig. Signed-off-by: eriknordmark <erik@zededa.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
SA1019: golang.org/x/net/context is deprecated; use the standard library context package instead. Signed-off-by: eriknordmark <erik@zededa.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
This is to handle CVE-2026-33748 and CVE-2026-33747.
Fixes #4213
- What I did
go get -u of buildkit
This brought in some need to update other packages, which make us hit the incompatible change in docker around AuthProvider, so this also fixes authprovider API change in buildkit v1.29
- How I did it
- How to verify it
Normal regression testing.
- Description for the changelog
Update the buildkit dependency to version v1.29
- A picture of a cute animal (not mandatory but encouraged)