Skip to content

Commit 559d554

Browse files
crazy-maxgithub-actions[bot]
authored andcommitted
vendor: github.com/docker/buildx v0.20.0
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3a782c9 commit 559d554

15 files changed

+386
-16
lines changed

_vendor/github.com/docker/buildx/docs/bake-reference.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# github.com/moby/moby v27.5.0+incompatible
2-
# github.com/moby/buildkit v0.18.1
3-
# github.com/docker/buildx v0.19.2
2+
# github.com/moby/buildkit v0.19.0
3+
# github.com/docker/buildx v0.20.0
44
# github.com/docker/cli v27.5.0+incompatible
55
# github.com/docker/compose/v2 v2.32.4
66
# github.com/docker/scout-cli v1.15.0

data/buildx/docker_buildx.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ cname:
1111
- docker buildx debug
1212
- docker buildx dial-stdio
1313
- docker buildx du
14+
- docker buildx history
1415
- docker buildx imagetools
1516
- docker buildx inspect
1617
- docker buildx ls
@@ -26,6 +27,7 @@ clink:
2627
- docker_buildx_debug.yaml
2728
- docker_buildx_dial-stdio.yaml
2829
- docker_buildx_du.yaml
30+
- docker_buildx_history.yaml
2931
- docker_buildx_imagetools.yaml
3032
- docker_buildx_inspect.yaml
3133
- docker_buildx_ls.yaml

data/buildx/docker_buildx_bake.yaml

Lines changed: 51 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,34 @@ options:
5959
experimentalcli: false
6060
kubernetes: false
6161
swarm: false
62+
- option: list
63+
value_type: string
64+
description: List targets or variables
65+
details_url: '#list'
66+
deprecated: false
67+
hidden: false
68+
experimental: false
69+
experimentalcli: false
70+
kubernetes: false
71+
swarm: false
6272
- option: list-targets
6373
value_type: bool
6474
default_value: "false"
6575
description: List available targets
66-
deprecated: false
76+
deprecated: true
6777
hidden: true
6878
experimental: false
69-
experimentalcli: true
79+
experimentalcli: false
7080
kubernetes: false
7181
swarm: false
7282
- option: list-variables
7383
value_type: bool
7484
default_value: "false"
7585
description: List defined variables
76-
deprecated: false
86+
deprecated: true
7787
hidden: true
7888
experimental: false
79-
experimentalcli: true
89+
experimentalcli: false
8090
kubernetes: false
8191
swarm: false
8292
- option: load
@@ -125,7 +135,7 @@ options:
125135
value_type: string
126136
default_value: auto
127137
description: |
128-
Set type of progress output (`auto`, `plain`, `tty`, `rawjson`). Use plain to show container output
138+
Set type of progress output (`auto`, `quiet`, `plain`, `tty`, `rawjson`). Use plain to show container output
129139
details_url: '#progress'
130140
deprecated: false
131141
hidden: false
@@ -259,6 +269,42 @@ examples: |-
259269
See the [Bake file reference](/build/bake/reference/)
260270
for more details.
261271
272+
### List targets and variables (--list) {#list}
273+
274+
The `--list` flag displays all available targets or variables in the Bake
275+
configuration, along with a description (if set using the `description`
276+
property in the Bake file).
277+
278+
To list all targets:
279+
280+
```console {title="List targets"}
281+
$ docker buildx bake --list=targets
282+
TARGET DESCRIPTION
283+
binaries
284+
default binaries
285+
update-docs
286+
validate
287+
validate-golangci Validate .golangci.yml schema (does not run Go linter)
288+
```
289+
290+
To list variables:
291+
292+
```console
293+
$ docker buildx bake --list=variables
294+
VARIABLE VALUE DESCRIPTION
295+
REGISTRY docker.io/username Registry and namespace
296+
IMAGE_NAME my-app Image name
297+
GO_VERSION <null>
298+
```
299+
300+
By default, the output of `docker buildx bake --list` is presented in a table
301+
format. Alternatively, you can use a long-form CSV syntax and specify a
302+
`format` attribute to output the list in JSON.
303+
304+
```console
305+
$ docker buildx bake --list=type=targets,format=json
306+
```
307+
262308
### Write build results metadata to a file (--metadata-file) {#metadata-file}
263309
264310
Similar to [`buildx build --metadata-file`](/reference/cli/docker/buildx/build/#metadata-file) but

data/buildx/docker_buildx_build.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ options:
355355
value_type: string
356356
default_value: auto
357357
description: |
358-
Set type of progress output (`auto`, `plain`, `tty`, `rawjson`). Use plain to show container output
358+
Set type of progress output (`auto`, `quiet`, `plain`, `tty`, `rawjson`). Use plain to show container output
359359
details_url: '#progress'
360360
deprecated: false
361361
hidden: false
@@ -1317,8 +1317,12 @@ examples: |-
13171317
--progress=VALUE
13181318
```
13191319
1320-
Set type of progress output (`auto`, `plain`, `tty`, `rawjson`). Use `plain` to show container
1321-
output (default `auto`).
1320+
Set type of progress output. Supported values are:
1321+
- `auto` (default): Uses the `tty` mode if the client is a TTY, or `plain` otherwise
1322+
- `tty`: An interactive stream of the output with color and redrawing
1323+
- `plain`: Prints the raw build progress in a plaintext format
1324+
- `quiet`: Suppress the build output and print image ID on success (same as `--quiet`)
1325+
- `rawjson`: Prints the raw build progress as JSON lines
13221326
13231327
> [!NOTE]
13241328
> You can also use the `BUILDKIT_PROGRESS` environment variable to set its value.

data/buildx/docker_buildx_debug_build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ options:
337337
value_type: string
338338
default_value: auto
339339
description: |
340-
Set type of progress output (`auto`, `plain`, `tty`, `rawjson`). Use plain to show container output
340+
Set type of progress output (`auto`, `quiet`, `plain`, `tty`, `rawjson`). Use plain to show container output
341341
deprecated: false
342342
hidden: false
343343
experimental: false
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
command: docker buildx history
2+
short: Commands to work on build records
3+
long: Commands to work on build records
4+
usage: docker buildx history
5+
pname: docker buildx
6+
plink: docker_buildx.yaml
7+
cname:
8+
- docker buildx history inspect
9+
- docker buildx history logs
10+
- docker buildx history ls
11+
- docker buildx history open
12+
- docker buildx history rm
13+
clink:
14+
- docker_buildx_history_inspect.yaml
15+
- docker_buildx_history_logs.yaml
16+
- docker_buildx_history_ls.yaml
17+
- docker_buildx_history_open.yaml
18+
- docker_buildx_history_rm.yaml
19+
inherited_options:
20+
- option: builder
21+
value_type: string
22+
description: Override the configured builder instance
23+
deprecated: false
24+
hidden: false
25+
experimental: false
26+
experimentalcli: false
27+
kubernetes: false
28+
swarm: false
29+
- option: debug
30+
shorthand: D
31+
value_type: bool
32+
default_value: "false"
33+
description: Enable debug logging
34+
deprecated: false
35+
hidden: false
36+
experimental: false
37+
experimentalcli: false
38+
kubernetes: false
39+
swarm: false
40+
deprecated: false
41+
hidden: false
42+
experimental: false
43+
experimentalcli: false
44+
kubernetes: false
45+
swarm: false
46+
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
command: docker buildx history inspect
2+
short: Inspect a build
3+
long: Inspect a build
4+
usage: docker buildx history inspect [OPTIONS] [REF]
5+
pname: docker buildx history
6+
plink: docker_buildx_history.yaml
7+
cname:
8+
- docker buildx history inspect attachment
9+
clink:
10+
- docker_buildx_history_inspect_attachment.yaml
11+
inherited_options:
12+
- option: builder
13+
value_type: string
14+
description: Override the configured builder instance
15+
deprecated: false
16+
hidden: false
17+
experimental: false
18+
experimentalcli: false
19+
kubernetes: false
20+
swarm: false
21+
- option: debug
22+
shorthand: D
23+
value_type: bool
24+
default_value: "false"
25+
description: Enable debug logging
26+
deprecated: false
27+
hidden: false
28+
experimental: false
29+
experimentalcli: false
30+
kubernetes: false
31+
swarm: false
32+
deprecated: false
33+
hidden: false
34+
experimental: false
35+
experimentalcli: false
36+
kubernetes: false
37+
swarm: false
38+
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
command: docker buildx history inspect attachment
2+
short: Inspect a build attachment
3+
long: Inspect a build attachment
4+
usage: docker buildx history inspect attachment [OPTIONS] REF [DIGEST]
5+
pname: docker buildx history inspect
6+
plink: docker_buildx_history_inspect.yaml
7+
options:
8+
- option: platform
9+
value_type: string
10+
description: Platform of attachment
11+
deprecated: false
12+
hidden: false
13+
experimental: false
14+
experimentalcli: false
15+
kubernetes: false
16+
swarm: false
17+
- option: type
18+
value_type: string
19+
description: Type of attachment
20+
deprecated: false
21+
hidden: false
22+
experimental: false
23+
experimentalcli: false
24+
kubernetes: false
25+
swarm: false
26+
inherited_options:
27+
- option: builder
28+
value_type: string
29+
description: Override the configured builder instance
30+
deprecated: false
31+
hidden: false
32+
experimental: false
33+
experimentalcli: false
34+
kubernetes: false
35+
swarm: false
36+
- option: debug
37+
shorthand: D
38+
value_type: bool
39+
default_value: "false"
40+
description: Enable debug logging
41+
deprecated: false
42+
hidden: false
43+
experimental: false
44+
experimentalcli: false
45+
kubernetes: false
46+
swarm: false
47+
deprecated: false
48+
hidden: false
49+
experimental: false
50+
experimentalcli: false
51+
kubernetes: false
52+
swarm: false
53+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
command: docker buildx history logs
2+
short: Print the logs of a build
3+
long: Print the logs of a build
4+
usage: docker buildx history logs [OPTIONS] [REF]
5+
pname: docker buildx history
6+
plink: docker_buildx_history.yaml
7+
options:
8+
- option: progress
9+
value_type: string
10+
default_value: plain
11+
description: Set type of progress output (plain, rawjson, tty)
12+
deprecated: false
13+
hidden: false
14+
experimental: false
15+
experimentalcli: false
16+
kubernetes: false
17+
swarm: false
18+
inherited_options:
19+
- option: builder
20+
value_type: string
21+
description: Override the configured builder instance
22+
deprecated: false
23+
hidden: false
24+
experimental: false
25+
experimentalcli: false
26+
kubernetes: false
27+
swarm: false
28+
- option: debug
29+
shorthand: D
30+
value_type: bool
31+
default_value: "false"
32+
description: Enable debug logging
33+
deprecated: false
34+
hidden: false
35+
experimental: false
36+
experimentalcli: false
37+
kubernetes: false
38+
swarm: false
39+
deprecated: false
40+
hidden: false
41+
experimental: false
42+
experimentalcli: false
43+
kubernetes: false
44+
swarm: false
45+

0 commit comments

Comments
 (0)