Skip to content

Commit e5fd223

Browse files
crazy-maxgithub-actions[bot]
authored andcommitted
vendor: github.com/docker/buildx v0.17.0
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5acfd0f commit e5fd223

25 files changed

+305
-48
lines changed

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

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

_vendor/github.com/moby/buildkit/docs/buildkitd.toml.md

Lines changed: 1 addition & 3 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.2.1+incompatible
2-
# github.com/moby/buildkit v0.15.1
3-
# github.com/docker/buildx v0.16.2
2+
# github.com/moby/buildkit v0.16.0
3+
# github.com/docker/buildx v0.17.0
44
# github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible
55
# github.com/docker/compose/v2 v2.29.2
66
# github.com/docker/scout-cli v1.13.0

data/buildx/docker_buildx.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,17 @@ options:
4444
experimentalcli: false
4545
kubernetes: false
4646
swarm: false
47+
- option: debug
48+
shorthand: D
49+
value_type: bool
50+
default_value: "false"
51+
description: Enable debug logging
52+
deprecated: false
53+
hidden: false
54+
experimental: false
55+
experimentalcli: false
56+
kubernetes: false
57+
swarm: false
4758
examples: |-
4859
### Override the configured builder instance (--builder) {#builder}
4960

data/buildx/docker_buildx_bake.yaml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,24 @@ long: |-
88
Read [High-level build options with Bake](/build/bake/)
99
guide for introduction to writing bake files.
1010
11-
> **Note**
12-
>
11+
> [!NOTE]
1312
> `buildx bake` command may receive backwards incompatible features in the future
1413
> if needed. We are looking for feedback on improving the command and extending
1514
> the functionality further.
1615
usage: docker buildx bake [OPTIONS] [TARGET...]
1716
pname: docker buildx
1817
plink: docker_buildx.yaml
1918
options:
19+
- option: allow
20+
value_type: stringArray
21+
default_value: '[]'
22+
description: Allow build to access specified resources
23+
deprecated: false
24+
hidden: false
25+
experimental: false
26+
experimentalcli: false
27+
kubernetes: false
28+
swarm: false
2029
- option: call
2130
value_type: string
2231
default_value: build
@@ -187,6 +196,17 @@ inherited_options:
187196
experimentalcli: false
188197
kubernetes: false
189198
swarm: false
199+
- option: debug
200+
shorthand: D
201+
value_type: bool
202+
default_value: "false"
203+
description: Enable debug logging
204+
deprecated: false
205+
hidden: false
206+
experimental: false
207+
experimentalcli: false
208+
kubernetes: false
209+
swarm: false
190210
examples: |-
191211
### Override the configured builder instance (--builder) {#builder}
192212
@@ -302,17 +322,15 @@ examples: |-
302322
}
303323
```
304324
305-
> **Note**
306-
>
325+
> [!NOTE]
307326
> Build record [provenance](/build/metadata/attestations/slsa-provenance/#provenance-attestation-example)
308327
> (`buildx.build.provenance`) includes minimal provenance by default. Set the
309328
> `BUILDX_METADATA_PROVENANCE` environment variable to customize this behavior:
310329
> * `min` sets minimal provenance (default).
311330
> * `max` sets full provenance.
312331
> * `disabled`, `false` or `0` does not set any provenance.
313332
314-
> **Note**
315-
>
333+
> [!NOTE]
316334
> Build warnings (`buildx.build.warnings`) are not included by default. Set the
317335
> `BUILDX_METADATA_WARNINGS` environment variable to `1` or `true` to
318336
> include them.

data/buildx/docker_buildx_build.yaml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,17 @@ inherited_options:
543543
experimentalcli: false
544544
kubernetes: false
545545
swarm: false
546+
- option: debug
547+
shorthand: D
548+
value_type: bool
549+
default_value: "false"
550+
description: Enable debug logging
551+
deprecated: false
552+
hidden: false
553+
experimental: false
554+
experimentalcli: false
555+
kubernetes: false
556+
swarm: false
546557
examples: |-
547558
### Add entries to container hosts file (--add-host) {#add-host}
548559
@@ -1060,8 +1071,7 @@ examples: |-
10601071
}
10611072
```
10621073
1063-
> **Note**
1064-
>
1074+
> [!NOTE]
10651075
> Build record [provenance](/build/metadata/attestations/slsa-provenance/#provenance-attestation-example)
10661076
> (`buildx.build.provenance`) includes minimal provenance by default. Set the
10671077
> `BUILDX_METADATA_PROVENANCE` environment variable to customize this behavior:
@@ -1070,8 +1080,7 @@ examples: |-
10701080
> - `max` sets full provenance.
10711081
> - `disabled`, `false` or `0` doesn't set any provenance.
10721082
1073-
> **Note**
1074-
>
1083+
> [!NOTE]
10751084
> Build warnings (`buildx.build.warnings`) are not included by default. Set the
10761085
> `BUILDX_METADATA_WARNINGS` environment variable to `1` or `true` to
10771086
> include them.
@@ -1311,8 +1320,7 @@ examples: |-
13111320
Set type of progress output (`auto`, `plain`, `tty`, `rawjson`). Use `plain` to show container
13121321
output (default `auto`).
13131322
1314-
> **Note**
1315-
>
1323+
> [!NOTE]
13161324
> You can also use the `BUILDKIT_PROGRESS` environment variable to set its value.
13171325
13181326
The following example uses `plain` output during the build:
@@ -1330,8 +1338,7 @@ examples: |-
13301338
...
13311339
```
13321340
1333-
> **Note**
1334-
>
1341+
> [!NOTE]
13351342
> Check also the [`BUILDKIT_COLORS`](/build/building/variables/#buildkit_colors)
13361343
> environment variable for modifying the colors of the terminal output.
13371344
@@ -1429,8 +1436,8 @@ examples: |-
14291436
# syntax=docker/dockerfile:1
14301437
FROM node:alpine
14311438
RUN --mount=type=bind,target=. \
1432-
--mount=type=secret,id=SECRET_TOKEN \
1433-
SECRET_TOKEN=$(cat /run/secrets/SECRET_TOKEN) yarn run test
1439+
--mount=type=secret,id=SECRET_TOKEN,env=SECRET_TOKEN \
1440+
yarn run test
14341441
```
14351442
14361443
```console
@@ -1446,8 +1453,7 @@ examples: |-
14461453
optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes), or `g`
14471454
(gigabytes). If you omit the unit, the system uses bytes.
14481455
1449-
> **Note**
1450-
>
1456+
> [!NOTE]
14511457
> In most cases, it is recommended to let the builder automatically determine
14521458
> the appropriate configurations. Manual adjustments should only be considered
14531459
> when specific performance tuning is required for complex build scenarios.
@@ -1533,14 +1539,12 @@ examples: |-
15331539
$ docker buildx build --ulimit nofile=1024:1024 .
15341540
```
15351541
1536-
> **Note**
1537-
>
1542+
> [!NOTE]
15381543
> If you don't provide a `hard limit`, the `soft limit` is used
15391544
> for both values. If no `ulimits` are set, they're inherited from
15401545
> the default `ulimits` set on the daemon.
15411546
1542-
> **Note**
1543-
>
1547+
> [!NOTE]
15441548
> In most cases, it is recommended to let the builder automatically determine
15451549
> the appropriate configurations. Manual adjustments should only be considered
15461550
> when specific performance tuning is required for complex build scenarios.

data/buildx/docker_buildx_create.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,18 @@ options:
147147
experimentalcli: false
148148
kubernetes: false
149149
swarm: false
150+
inherited_options:
151+
- option: debug
152+
shorthand: D
153+
value_type: bool
154+
default_value: "false"
155+
description: Enable debug logging
156+
deprecated: false
157+
hidden: false
158+
experimental: false
159+
experimentalcli: false
160+
kubernetes: false
161+
swarm: false
150162
examples: |-
151163
### Append a new node to an existing builder (--append) {#append}
152164
@@ -208,8 +220,7 @@ examples: |-
208220
--buildkitd-flags '--oci-worker-net bridge'
209221
```
210222
211-
> **Note**
212-
>
223+
> [!NOTE]
213224
> Network mode "bridge" is supported since BuildKit v0.13 and will become the
214225
> default in next v0.14.
215226

data/buildx/docker_buildx_debug.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ inherited_options:
7878
experimentalcli: false
7979
kubernetes: false
8080
swarm: false
81+
- option: debug
82+
shorthand: D
83+
value_type: bool
84+
default_value: "false"
85+
description: Enable debug logging
86+
deprecated: false
87+
hidden: false
88+
experimental: false
89+
experimentalcli: false
90+
kubernetes: false
91+
swarm: false
8192
deprecated: false
8293
hidden: false
8394
experimental: false

data/buildx/docker_buildx_debug_build.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,17 @@ inherited_options:
514514
experimentalcli: false
515515
kubernetes: false
516516
swarm: false
517+
- option: debug
518+
shorthand: D
519+
value_type: bool
520+
default_value: "false"
521+
description: Enable debug logging
522+
deprecated: false
523+
hidden: false
524+
experimental: false
525+
experimentalcli: false
526+
kubernetes: false
527+
swarm: false
517528
deprecated: false
518529
hidden: false
519530
experimental: false

data/buildx/docker_buildx_dial-stdio.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ inherited_options:
3737
experimentalcli: false
3838
kubernetes: false
3939
swarm: false
40+
- option: debug
41+
shorthand: D
42+
value_type: bool
43+
default_value: "false"
44+
description: Enable debug logging
45+
deprecated: false
46+
hidden: false
47+
experimental: false
48+
experimentalcli: false
49+
kubernetes: false
50+
swarm: false
4051
examples: |-
4152
Example go program that uses the dial-stdio command wire up a buildkit client.
4253
This is for example use only and may not be suitable for production use.

0 commit comments

Comments
 (0)