You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/buildx/docker_buildx_build.yaml
+68-57Lines changed: 68 additions & 57 deletions
Original file line number
Diff line number
Diff line change
@@ -703,13 +703,15 @@ examples: |-
703
703
Define additional build context with specified contents. In Dockerfile the context can be accessed when `FROM name` or `--from=name` is used.
704
704
When Dockerfile defines a stage with the same name it is overwritten.
705
705
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.
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.
748
762
749
763
### Override the configured builder instance (--builder) {#builder}
750
764
@@ -756,25 +770,25 @@ examples: |-
756
770
--cache-from=[NAME|type=TYPE[,KEY=VALUE]]
757
771
```
758
772
759
-
Use an external cache source for a build. Supported types are `registry`,
760
-
`local`, `gha` and `s3`.
773
+
Use an external cache source for a build. Supported types are:
release (default) is an empty scratch image with only compiled assets
948
998
```
949
999
950
-
### Export build cache to an external cache destination (--cache-to) {#cache-to}
951
-
952
-
```text
953
-
--cache-to=[NAME|type=TYPE[,KEY=VALUE]]
954
-
```
955
-
956
-
Export build cache to an external cache destination. Supported types are
957
-
`registry`, `local`, `inline`, `gha` and `s3`.
958
-
959
-
- [`registry` type](https://github.com/moby/buildkit#registry-push-image-and-cache-separately) exports build cache to a cache manifest in the registry.
0 commit comments