-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Update buildx reference to v0.21.0 #22058
Merged
crazy-max
merged 2 commits into
docker:main
from
docker-tools-robot:dispatch/buildx-ref-v0.21.0
Feb 20, 2025
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# github.com/moby/moby v27.5.1+incompatible | ||
# github.com/moby/buildkit v0.19.0 | ||
# github.com/docker/buildx v0.20.1 | ||
# github.com/docker/cli v27.5.1+incompatible | ||
# github.com/moby/buildkit v0.20.0 | ||
# github.com/docker/buildx v0.21.0 | ||
# github.com/docker/cli v28.0.0-rc.2+incompatible | ||
# github.com/docker/compose/v2 v2.33.0 | ||
# github.com/docker/scout-cli v1.15.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
datafolder: buildx | ||
datafile: docker_buildx_history_trace | ||
title: docker buildx history trace | ||
layout: cli | ||
aliases: | ||
- /engine/reference/commandline/buildx_history_trace/ | ||
--- | ||
|
||
<!-- | ||
This page is automatically generated from Docker's source code. If you want to | ||
suggest a change to the text that appears here, open a ticket or pull request | ||
in the source repository on GitHub: | ||
|
||
https://github.com/docker/buildx | ||
--> |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,18 @@ cname: | |
- docker buildx history inspect attachment | ||
clink: | ||
- docker_buildx_history_inspect_attachment.yaml | ||
options: | ||
- option: format | ||
value_type: string | ||
default_value: pretty | ||
description: Format the output | ||
details_url: '#format' | ||
deprecated: false | ||
hidden: false | ||
experimental: false | ||
experimentalcli: false | ||
kubernetes: false | ||
swarm: false | ||
inherited_options: | ||
- option: builder | ||
value_type: string | ||
|
@@ -29,6 +41,99 @@ inherited_options: | |
experimentalcli: false | ||
kubernetes: false | ||
swarm: false | ||
examples: |- | ||
### Format the output (--format) {#format} | ||
|
||
The formatting options (`--format`) pretty-prints the output to `pretty` (default), | ||
`json` or using a Go template. | ||
|
||
```console | ||
$ docker buildx history inspect | ||
Name: buildx (binaries) | ||
Context: . | ||
Dockerfile: Dockerfile | ||
VCS Repository: https://github.com/crazy-max/buildx.git | ||
VCS Revision: f15eaa1ee324ffbbab29605600d27a84cab86361 | ||
Target: binaries | ||
Platforms: linux/amd64 | ||
Keep Git Dir: true | ||
|
||
Started: 2025-02-07 11:56:24 | ||
Duration: 1m 1s | ||
Build Steps: 16/16 (25% cached) | ||
|
||
Image Resolve Mode: local | ||
|
||
Materials: | ||
URI DIGEST | ||
pkg:docker/docker/dockerfile@1 sha256:93bfd3b68c109427185cd78b4779fc82b484b0b7618e36d0f104d4d801e66d25 | ||
pkg:docker/[email protected]?platform=linux%2Famd64 sha256:2c49857f2295e89b23b28386e57e018a86620a8fede5003900f2d138ba9c4037 | ||
pkg:docker/tonistiigi/[email protected]?platform=linux%2Famd64 sha256:923441d7c25f1e2eb5789f82d987693c47b8ed987c4ab3b075d6ed2b5d6779a3 | ||
|
||
Attachments: | ||
DIGEST PLATFORM TYPE | ||
sha256:217329d2af959d4f02e3a96dcbe62bf100cab1feb8006a047ddfe51a5397f7e3 https://slsa.dev/provenance/v0.2 | ||
|
||
Print build logs: docker buildx history logs g9808bwrjrlkbhdamxklx660b | ||
``` | ||
|
||
```console | ||
$ docker buildx history inspect --format json | ||
{ | ||
"Name": "buildx (binaries)", | ||
"Ref": "5w7vkqfi0rf59hw4hnmn627r9", | ||
"Context": ".", | ||
"Dockerfile": "Dockerfile", | ||
"VCSRepository": "https://github.com/crazy-max/buildx.git", | ||
"VCSRevision": "f15eaa1ee324ffbbab29605600d27a84cab86361", | ||
"Target": "binaries", | ||
"Platform": [ | ||
"linux/amd64" | ||
], | ||
"KeepGitDir": true, | ||
"StartedAt": "2025-02-07T12:01:05.75807272+01:00", | ||
"CompletedAt": "2025-02-07T12:02:07.991778875+01:00", | ||
"Duration": 62233706155, | ||
"Status": "completed", | ||
"NumCompletedSteps": 16, | ||
"NumTotalSteps": 16, | ||
"NumCachedSteps": 4, | ||
"Config": { | ||
"ImageResolveMode": "local" | ||
}, | ||
"Materials": [ | ||
{ | ||
"URI": "pkg:docker/docker/dockerfile@1", | ||
"Digests": [ | ||
"sha256:93bfd3b68c109427185cd78b4779fc82b484b0b7618e36d0f104d4d801e66d25" | ||
] | ||
}, | ||
{ | ||
"URI": "pkg:docker/[email protected]?platform=linux%2Famd64", | ||
"Digests": [ | ||
"sha256:2c49857f2295e89b23b28386e57e018a86620a8fede5003900f2d138ba9c4037" | ||
] | ||
}, | ||
{ | ||
"URI": "pkg:docker/tonistiigi/[email protected]?platform=linux%2Famd64", | ||
"Digests": [ | ||
"sha256:923441d7c25f1e2eb5789f82d987693c47b8ed987c4ab3b075d6ed2b5d6779a3" | ||
] | ||
} | ||
], | ||
"Attachments": [ | ||
{ | ||
"Digest": "sha256:450fdd2e6b868fecd69e9891c2c404ba461aa38a47663b4805edeb8d2baf80b1", | ||
"Type": "https://slsa.dev/provenance/v0.2" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
```console | ||
$ docker buildx history inspect --format "{{.Name}}: {{.VCSRepository}} ({{.VCSRevision}})" | ||
buildx (binaries): https://github.com/crazy-max/buildx.git (f15eaa1ee324ffbbab29605600d27a84cab86361) | ||
``` | ||
deprecated: false | ||
hidden: false | ||
experimental: false | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
command: docker buildx history trace | ||
short: Show the OpenTelemetry trace of a build record | ||
long: Show the OpenTelemetry trace of a build record | ||
usage: docker buildx history trace [OPTIONS] [REF] | ||
pname: docker buildx history | ||
plink: docker_buildx_history.yaml | ||
options: | ||
- option: addr | ||
value_type: string | ||
default_value: 127.0.0.1:0 | ||
description: Address to bind the UI server | ||
deprecated: false | ||
hidden: false | ||
experimental: false | ||
experimentalcli: false | ||
kubernetes: false | ||
swarm: false | ||
- option: compare | ||
value_type: string | ||
description: Compare with another build reference | ||
deprecated: false | ||
hidden: false | ||
experimental: false | ||
experimentalcli: false | ||
kubernetes: false | ||
swarm: false | ||
inherited_options: | ||
- option: builder | ||
value_type: string | ||
description: Override the configured builder instance | ||
deprecated: false | ||
hidden: false | ||
experimental: false | ||
experimentalcli: false | ||
kubernetes: false | ||
swarm: false | ||
- option: debug | ||
shorthand: D | ||
value_type: bool | ||
default_value: "false" | ||
description: Enable debug logging | ||
deprecated: false | ||
hidden: false | ||
experimental: false | ||
experimentalcli: false | ||
kubernetes: false | ||
swarm: false | ||
deprecated: false | ||
hidden: false | ||
experimental: false | ||
experimentalcli: false | ||
kubernetes: false | ||
swarm: false | ||
|
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
this change is related to docker/buildx#2996 (comment) but the replace directive avoid vendoring this RC so we are safe here.