mirror of
https://github.com/simple-login/app.git
synced 2024-11-14 12:47:18 +08:00
467 B
467 B
To build a multi-architecture image, you need to use buildx
.
Here's the command to build and push the images from a Mac M1:
- First create a new buildx environment (or context). This is only necessary for the first time.
docker buildx create --use
- Build and push the image. Replace
simplelogin/name:tag
by the correct docker image name and tag.
docker buildx build --platform linux/amd64,linux/arm64 --push -t simplelogin/name:tag