Skip to content

Instantly share code, notes, and snippets.

@developer-guy
Created April 1, 2022 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save developer-guy/0a990bfc2c695e2a334765f7489d89fa to your computer and use it in GitHub Desktop.
Save developer-guy/0a990bfc2c695e2a334765f7489d89fa to your computer and use it in GitHub Desktop.
create multiarch image command with buildx
docker buildx build -t devopps/hello-world-multi-arch:v1 \
--push=true \
--cache-from type=registry,ref=devopps/hello-world-multi-arch:cache \
--cache-to type=registry,ref=devopps/hello-world-multi-arch:cache,mode=max \
--platform linux/amd64,linux/arm64 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment