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]
|
- !reference [.auth_gitlab, before_script]
|
||||||
script:
|
script:
|
||||||
- docker buildx create --use
|
- docker buildx create --use
|
||||||
- docker buildx build . --file docker/Dockerfile \
|
- >
|
||||||
--provenance=false \
|
docker buildx build . --file docker/Dockerfile
|
||||||
--platform=linux/amd64,linux/arm64 \
|
--provenance=false
|
||||||
--build-arg APP_VERSION=${CI_COMMIT_TAG} \
|
--platform=linux/amd64,linux/arm64
|
||||||
--build-arg V_GOLANG=${V_GOLANG} \
|
--build-arg APP_VERSION=${CI_COMMIT_TAG}
|
||||||
--build-arg V_NODE=${V_NODE} \
|
--build-arg V_GOLANG=${V_GOLANG}
|
||||||
--build-arg V_ALPINE=${V_ALPINE} \
|
--build-arg V_NODE=${V_NODE}
|
||||||
--tag ${CURRENT_IMAGE} \
|
--build-arg V_ALPINE=${V_ALPINE}
|
||||||
--tag ${LATEST_IMAGE} \
|
--tag ${CURRENT_IMAGE}
|
||||||
--pull --push
|
--tag ${LATEST_IMAGE}
|
||||||
- docker push $CURRENT_IMAGE
|
--push
|
||||||
- docker push $LATEST_IMAGE
|
|
||||||
after_script:
|
after_script:
|
||||||
- !reference [.auth_gitlab, after_script]
|
- !reference [.auth_gitlab, after_script]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue