Skip to content

ci: upgrade to buildx v0.11#10727

Merged
ndeloof merged 2 commits intodocker:v2from
milas:buildx-0.11
Jun 21, 2023
Merged

ci: upgrade to buildx v0.11#10727
ndeloof merged 2 commits intodocker:v2from
milas:buildx-0.11

Conversation

@milas
Copy link
Copy Markdown
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 a team and jedevc June 20, 2023 15:23
@milas milas self-assigned this Jun 20, 2023
@milas milas requested review from StefanScherer, glours, laurazard, ndeloof, nicksieger and ulyssessouza 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
Copy Markdown
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

Comment thread pkg/compose/build.go Outdated
return plats, nil
}

func convertCacheOptions(in []*pb.CacheOptionsEntry) []bclient.CacheOptionsEntry {
Copy link
Copy Markdown
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
Copy Markdown
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