Last active
August 17, 2021 20:52
-
-
Save nicosingh/e28b69ca0e3d9146eab278ef37950525 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# clone sample repo | |
git clone https://gitlab.com/nicosingh/demo-flask-application.git | |
cd demo-flask-application | |
# log into gitlab container registry | |
docker login registry.gitlab.com | |
# init buildx | |
docker buildx create --use | |
# build and push docker image | |
docker buildx build \ | |
--platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le \ | |
--tag registry.gitlab.com/nicosingh/demo-flask-application:latest \ | |
--push \ | |
. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment