Update .gitlab-ci.yml

This commit is contained in:
Sebastian Hugentobler 2020-08-11 10:36:01 +00:00
parent df50ccd6b3
commit 85a6b82501

View File

@ -8,6 +8,7 @@ build:
stage: build
script:
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD $DOCKER_REGISTRY
- docker buildx build --platform linux/amd64,linux/arm64 .
- docker build -t $IMAGE_NAME:$CI_COMMIT_SHA .
- docker build -t $IMAGE_NAME:$CI_COMMIT_REF_NAME .
- docker build -t $IMAGE_NAME:latest .