Update .gitlab-ci.yml

This commit is contained in:
Florian Hoss 2024-05-31 12:02:54 +02:00
parent e8b377e9fb
commit 3166cdb261
No known key found for this signature in database
GPG key ID: 0638DC11BFD36662

View file

@ -28,18 +28,17 @@ build:
- !reference [.auth_gitlab, before_script]
script:
- docker buildx create --use
- docker buildx build . --file docker/Dockerfile \
--provenance=false \
--platform=linux/amd64,linux/arm64 \
--build-arg APP_VERSION=${CI_COMMIT_TAG} \
--build-arg V_GOLANG=${V_GOLANG} \
--build-arg V_NODE=${V_NODE} \
--build-arg V_ALPINE=${V_ALPINE} \
--tag ${CURRENT_IMAGE} \
--tag ${LATEST_IMAGE} \
--pull --push
- docker push $CURRENT_IMAGE
- docker push $LATEST_IMAGE
- >
docker buildx build . --file docker/Dockerfile
--provenance=false
--platform=linux/amd64,linux/arm64
--build-arg APP_VERSION=${CI_COMMIT_TAG}
--build-arg V_GOLANG=${V_GOLANG}
--build-arg V_NODE=${V_NODE}
--build-arg V_ALPINE=${V_ALPINE}
--tag ${CURRENT_IMAGE}
--tag ${LATEST_IMAGE}
--push
after_script:
- !reference [.auth_gitlab, after_script]