From 3166cdb261336f5ec5e3c1367e149820cfece645 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Fri, 31 May 2024 12:02:54 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e2d11e3..36bf842 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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]