Update .gitlab-ci.yml
This commit is contained in:
parent
e8b377e9fb
commit
3166cdb261
1 changed files with 11 additions and 12 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue