Update .gitlab-ci.yml
This commit is contained in:
parent
df50ccd6b3
commit
85a6b82501
@ -8,6 +8,7 @@ build:
|
|||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD $DOCKER_REGISTRY
|
- 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_SHA .
|
||||||
- docker build -t $IMAGE_NAME:$CI_COMMIT_REF_NAME .
|
- docker build -t $IMAGE_NAME:$CI_COMMIT_REF_NAME .
|
||||||
- docker build -t $IMAGE_NAME:latest .
|
- docker build -t $IMAGE_NAME:latest .
|
||||||
|
Loading…
Reference in New Issue
Block a user