mirror of https://github.com/docker/docs.git
Merge pull request #22406 from lvthillo/patch-1
BuildKit supports multiple cache exporters
This commit is contained in:
commit
57341a7ac2
|
@ -81,12 +81,11 @@ $ docker buildx build --push -t <registry>/<image> \
|
|||
|
||||
## Multiple caches
|
||||
|
||||
BuildKit currently only supports
|
||||
[a single cache exporter](https://github.com/moby/buildkit/pull/3024). But you
|
||||
can import from as many remote caches as you like. For example, a common pattern
|
||||
is to use the cache of both the current branch and the main branch. The
|
||||
following example shows importing cache from multiple locations using the
|
||||
registry cache backend:
|
||||
BuildKit supports multiple cache exporters, allowing you to push cache to more
|
||||
than one destination. You can also import from as many remote caches as you'd
|
||||
like. For example, a common pattern is to use the cache of both the current
|
||||
branch and the main branch. The following example shows importing cache from
|
||||
multiple locations using the registry cache backend:
|
||||
|
||||
```console
|
||||
$ docker buildx build --push -t <registry>/<image> \
|
||||
|
|
Loading…
Reference in New Issue