Skip to content
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

Merged
merged 2 commits into from
Jun 21, 2023
Merged

ci: upgrade to buildx v0.11 #10727

merged 2 commits into from
Jun 21, 2023

Conversation

milas
Copy link
Contributor

@milas milas commented Jun 20, 2023

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
baby beaver

@milas milas added the dependencies Pull requests that update a dependency file label Jun 20, 2023
@milas milas requested review from jedevc and a team June 20, 2023 15:23
@milas milas self-assigned this Jun 20, 2023
@milas milas requested review from nicksieger, ndeloof, StefanScherer, ulyssessouza, glours and laurazard and removed request for a team June 20, 2023 15:23
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]>
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -531,3 +533,18 @@ func useDockerDefaultOrServicePlatform(project *types.Project, service types.Ser
}
return plats, nil
}

func convertCacheOptions(in []*pb.CacheOptionsEntry) []bclient.CacheOptionsEntry {
Copy link
Contributor

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

Copy link
Contributor Author

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]>
@ndeloof ndeloof merged commit 061b52d into docker:v2 Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants