Skip to content

Commit 969545c

Browse files
jsternberggithub-actions[bot]
authored andcommitted
vendor: github.com/docker/buildx v0.25.0
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c959344 commit 969545c

File tree

7 files changed

+53
-17
lines changed

7 files changed

+53
-17
lines changed

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

Lines changed: 17 additions & 0 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 v28.2.1+incompatible
2-
# github.com/moby/buildkit v0.22.0
3-
# github.com/docker/buildx v0.24.0
2+
# github.com/moby/buildkit v0.23.0
3+
# github.com/docker/buildx v0.25.0
44
# github.com/docker/cli v28.2.2+incompatible
55
# github.com/docker/compose/v2 v2.37.1
66
# github.com/docker/model-cli v0.1.26-0.20250527144806-15d0078a3c01

data/buildx/docker_buildx_bake.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,12 +366,15 @@ examples: |-
366366
367367
```console
368368
$ docker buildx bake --list=variables
369-
VARIABLE VALUE DESCRIPTION
370-
REGISTRY docker.io/username Registry and namespace
371-
IMAGE_NAME my-app Image name
372-
GO_VERSION <null>
369+
VARIABLE TYPE VALUE DESCRIPTION
370+
REGISTRY string docker.io/username Registry and namespace
371+
IMAGE_NAME string my-app Image name
372+
GO_VERSION <null>
373+
DEBUG bool false Add debug symbols
373374
```
374375
376+
Variable types will be shown when set using the `type` property in the Bake file.
377+
375378
By default, the output of `docker buildx bake --list` is presented in a table
376379
format. Alternatively, you can use a long-form CSV syntax and specify a
377380
`format` attribute to output the list in JSON.
@@ -531,6 +534,7 @@ examples: |-
531534
* `context`
532535
* `dockerfile`
533536
* `entitlements`
537+
* `extra-hosts`
534538
* `labels`
535539
* `load`
536540
* `no-cache`

data/buildx/docker_buildx_build.yaml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -703,13 +703,15 @@ examples: |-
703703
Define additional build context with specified contents. In Dockerfile the context can be accessed when `FROM name` or `--from=name` is used.
704704
When Dockerfile defines a stage with the same name it is overwritten.
705705
706-
The value can be a local source directory, [local OCI layout compliant directory](https://github.com/opencontainers/image-spec/blob/main/image-layout.md), container image (with docker-image:// prefix), Git or HTTP URL.
706+
The value can be a:
707707
708-
Replace `alpine:latest` with a pinned one:
708+
- local source directory
709+
- [local OCI layout compliant directory](https://github.com/opencontainers/image-spec/blob/main/image-layout.md)
710+
- container image
711+
- Git URL
712+
- HTTP URL
709713
710-
```console
711-
$ docker buildx build --build-context alpine=docker-image://alpine@sha256:0123456789 .
712-
```
714+
#### Use a local path {#local-path}
713715
714716
Expose a secondary local source directory:
715717
@@ -718,6 +720,16 @@ examples: |-
718720
# docker buildx build --build-context project=https://github.com/myuser/project.git .
719721
```
720722
723+
#### Use a container image {#docker-image}
724+
725+
Use the `docker-image://` scheme.
726+
727+
Replace `alpine:latest` with a pinned one:
728+
729+
```console
730+
$ docker buildx build --build-context alpine=docker-image://alpine@sha256:0123456789 .
731+
```
732+
721733
```dockerfile
722734
# syntax=docker/dockerfile:1
723735
FROM alpine
@@ -726,7 +738,10 @@ examples: |-
726738
727739
#### Use an OCI layout directory as build context {#source-oci-layout}
728740
729-
Source an image from a local [OCI layout compliant directory](https://github.com/opencontainers/image-spec/blob/main/image-layout.md),
741+
Use the `oci-layout:///` scheme.
742+
743+
Source an image from a local
744+
[OCI layout compliant directory](https://github.com/opencontainers/image-spec/blob/main/image-layout.md),
730745
either by tag, or by digest:
731746
732747
```console
@@ -744,7 +759,6 @@ examples: |-
744759
```
745760
746761
The OCI layout directory must be compliant with the [OCI layout specification](https://github.com/opencontainers/image-spec/blob/main/image-layout.md).
747-
You can reference an image in the layout using either tags, or the exact digest.
748762
749763
### Override the configured builder instance (--builder) {#builder}
750764

data/buildx/docker_buildx_debug.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
command: docker buildx debug
22
short: Start debugger
33
long: Start debugger
4-
usage: docker buildx debug
54
pname: docker buildx
65
plink: docker_buildx.yaml
76
cname:

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ module github.com/docker/docs
33
go 1.24.0
44

55
require (
6-
github.com/docker/buildx v0.24.0 // indirect
6+
github.com/docker/buildx v0.25.0 // indirect
77
github.com/docker/cli v28.2.2+incompatible // indirect
88
github.com/docker/compose/v2 v2.37.1 // indirect
99
github.com/docker/model-cli v0.1.26-0.20250527144806-15d0078a3c01 // indirect
1010
github.com/docker/scout-cli v1.15.0 // indirect
11-
github.com/moby/buildkit v0.22.0 // indirect
11+
github.com/moby/buildkit v0.23.0 // indirect
1212
github.com/moby/moby v28.2.1+incompatible // indirect
1313
)
1414

1515
replace (
16-
github.com/docker/buildx => github.com/docker/buildx v0.24.0
16+
github.com/docker/buildx => github.com/docker/buildx v0.25.0
1717
github.com/docker/cli => github.com/docker/cli v28.2.1+incompatible
1818
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.37.1
1919
github.com/docker/model-cli => github.com/docker/model-cli v0.1.26-0.20250527144806-15d0078a3c01

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5Qvfr
1818
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
1919
github.com/docker/buildx v0.24.0 h1:qiD+xktY+Fs3R79oz8M+7pbhip78qGLx6LBuVmyb+64=
2020
github.com/docker/buildx v0.24.0/go.mod h1:vYkdBUBjFo/i5vUE0mkajGlk03gE0T/HaGXXhgIxo8E=
21+
github.com/docker/buildx v0.25.0 h1:qs5WxBo0wQKSXcQ+v6UhWaeM2Pu+95ZCymaimRzInaE=
22+
github.com/docker/buildx v0.25.0/go.mod h1:xJcOeBhz49tgqN174MMGuOU4bxNmgfaLnZn7Gm641EE=
2123
github.com/docker/cli v28.2.1+incompatible h1:AYyTcuwvhl9dXdyCiXlOGXiIqSNYzTmaDNpxIISPGsM=
2224
github.com/docker/cli v28.2.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
2325
github.com/docker/compose/v2 v2.36.2 h1:rxk1PUUbhbAS6HkGsYo9xUmMBpKtVwFMNCQjE4+i5fk=

0 commit comments

Comments
 (0)