mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Tweak image tags for prod image push
This commit is contained in:
parent
77d9a8d26d
commit
ea0cf228a0
@ -99,10 +99,9 @@ docker-build-prod:
|
|||||||
--build-arg "BUILD_DATE=$(date +"%Y-%m-%dT%H:%M:%SZ")"
|
--build-arg "BUILD_DATE=$(date +"%Y-%m-%dT%H:%M:%SZ")"
|
||||||
--build-arg "BUILD_REF=${CI_COMMIT_SHA}"
|
--build-arg "BUILD_REF=${CI_COMMIT_SHA}"
|
||||||
--build-arg "CRAFTY_VER=${VERSION}"
|
--build-arg "CRAFTY_VER=${VERSION}"
|
||||||
--tag "crafty-build"
|
--tag "$CI_REGISTRY_IMAGE"
|
||||||
--platform linux/arm64/v8,linux/amd64 .
|
--platform linux/arm64/v8,linux/amd64 .
|
||||||
- docker image tag "crafty-build" "$CI_REGISTRY_IMAGE"
|
- docker image tag "$CI_REGISTRY_IMAGE" "$CI_REGISTRY_IMAGE:${VERSION}"
|
||||||
- docker image tag "crafty-build" "$CI_REGISTRY_IMAGE:${VERSION}"
|
|
||||||
- docker image push -a
|
- docker image push -a
|
||||||
after_script:
|
after_script:
|
||||||
- |
|
- |
|
||||||
|
Loading…
Reference in New Issue
Block a user