Skip to content

Instantly share code, notes, and snippets.

@taiar
Created October 20, 2023 22:48
Show Gist options
  • Save taiar/50a89e57e638b748bdfd35edf96685bb to your computer and use it in GitHub Desktop.
Save taiar/50a89e57e638b748bdfd35edf96685bb to your computer and use it in GitHub Desktop.
Create and push a docker multi arch image
docker buildx create --use --platform=linux/arm64,linux/amd64 --name multi-platform-builder
docker buildx inspect --bootstrap
docker buildx build --platform=linux/arm64,linux/amd64 --push --tag project-name:latest -f ./project-name/Dockerfile .
@taiar
Copy link
Author

taiar commented Oct 20, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment