mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Repair prod docker build pipe
This commit is contained in:
parent
352c6eec61
commit
c3c8bc178c
@ -97,10 +97,11 @@ docker-build-prod:
|
||||
--build-arg "BUILD_DATE=$(date +"%Y-%m-%dT%H:%M:%SZ")"
|
||||
--build-arg "BUILD_REF=${CI_COMMIT_SHA}"
|
||||
--build-arg "CRAFTY_VER=${VERSION}"
|
||||
--tag "$CI_REGISTRY_IMAGE"
|
||||
--tag "crafty_build"
|
||||
--platform linux/arm64/v8,linux/amd64 .
|
||||
- docker image tag "$CI_REGISTRY_IMAGE" "$CI_REGISTRY_IMAGE:${VERSION}"
|
||||
- docker image push -a
|
||||
- docker tag crafty_build:latest $CI_REGISTRY_IMAGE:latest
|
||||
- docker tag crafty_build:latest $CI_REGISTRY_IMAGE:$VERSION
|
||||
- docker push -a
|
||||
after_script:
|
||||
- |
|
||||
docker buildx rm zedBuilder && echo "Successfully Stopped builder instance" || echo "Failed to stop builder instance."
|
||||
|
Loading…
Reference in New Issue
Block a user