Created
April 1, 2022 18:18
-
-
Save developer-guy/0a990bfc2c695e2a334765f7489d89fa to your computer and use it in GitHub Desktop.
create multiarch image command with buildx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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