moved context arg to last

Signed-off-by: David Karlsson <david.karlsson@docker.com>
This commit is contained in:
David Karlsson
2022-10-06 14:04:21 +02:00
parent f51884e893
commit f5a1d8bff9
3 changed files with 9 additions and 9 deletions

View File

@@ -135,11 +135,11 @@ output to.
For example, to build a Linux image for `amd64` and `arm64`:
```console
$ docker buildx build . \
$ docker buildx build \
--builder=kube \
--platform=linux/amd64,linux/arm64 \
-t <user>/<image> \
--push
--push .
```
> **Warning**
@@ -309,10 +309,10 @@ Prerequisites:
```console
# Replace <registry> with your Docker username
# and <image> with the name of the image you want to build
docker buildx build . \
docker buildx build \
--builder=kube \
-t <registry>/<image> \
--push
--push .
```
That's it! You've now built an image from a Kubernetes pod, using Buildx!