build: allow multiple exports if supported by buildkit

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2024-02-27 20:23:31 -08:00
parent 83c30c6c5a
commit fcbe2803c8
3 changed files with 12 additions and 1 deletions

View File

@ -424,6 +424,10 @@ $ docker buildx build -o type=docker,dest=- . > myimage.tar
$ docker buildx build -t tonistiigi/foo -o type=registry
```
> **Note **
>
> Since BuildKit v0.13.0 multiple outputs can be specified by repeating the flag.
Supported exported types are:
#### `local`