-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: upgrade to buildx v0.11 #10727
ci: upgrade to buildx v0.11 #10727
Conversation
https://github.com/docker/buildx/releases/tag/v0.11.0 Several `replace` directives have been removed and dependencies aligned with buildx as needed. Signed-off-by: Milas Bowman <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
pkg/compose/build.go
Outdated
@@ -531,3 +533,18 @@ func useDockerDefaultOrServicePlatform(project *types.Project, service types.Ser | |||
} | |||
return plats, nil | |||
} | |||
|
|||
func convertCacheOptions(in []*pb.CacheOptionsEntry) []bclient.CacheOptionsEntry { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAICT we could use buildflags.ParseCacheEntry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has to get converted from the buildx protobuf type to the BuildKit client type.
That said, I found the upstream method which I couldn't find earlier for some reason, so I switched to that: https://github.com/docker/buildx/blob/010e4c8d54dcaa5e661ba7bc6adbf26008c96d4c/controller/pb/cache.go
Signed-off-by: Milas Bowman <[email protected]>
What I did
https://github.com/docker/buildx/releases/tag/v0.11.0
Several
replace
directives have been removed and dependencies aligned with buildx as needed.(not mandatory) A picture of a cute animal, if possible in relation to what you did