mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
ci: split docker deploy job
This commit is contained in:
parent
b54028fba7
commit
1a4c018317
1 changed files with 15 additions and 6 deletions
|
@ -194,12 +194,6 @@ packaging:docker:
|
|||
--file packaging/docker/Dockerfile.app
|
||||
--tag ${DOCKER_IMAGE}:${DOCKER_TAG} .
|
||||
- docker push ${DOCKER_IMAGE}:${DOCKER_TAG}
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev-ubuntu
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev-centos
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev-raspbian
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev-debian-arm64
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev-debian-armhf
|
||||
tags:
|
||||
- shell
|
||||
- linux
|
||||
|
@ -260,3 +254,18 @@ deploy:packages:tags:
|
|||
only:
|
||||
# Only on version tags
|
||||
- "/^v\\d+(\\.\\d+)+$/"
|
||||
|
||||
deploy:docker-dev:
|
||||
stage: deploy
|
||||
before_script:
|
||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
script:
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev-ubuntu
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev-centos
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev-raspbian
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev-debian-arm64
|
||||
- docker push registry.git.rwth-aachen.de/acs/public/villas/node/dev-debian-armhf
|
||||
tags:
|
||||
- shell
|
||||
- linux
|
||||
|
|
Loading…
Add table
Reference in a new issue