1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

ci: allow manual deployment of docker image

This commit is contained in:
Steffen Vogel 2020-09-21 09:28:04 +02:00
parent e3ce379c36
commit 78a52d8213

View file

@ -301,17 +301,7 @@ deploy:web:
tags:
- docker
deploy:packages:manual:
<<: *deploy_packages
when: manual
deploy:packages:tags:
<<: *deploy_packages
only:
# Only on version tags
- "/^v\\d+(\\.\\d+)+$/"
deploy:docker:
.deploy:docker: &deploy_docker_latest
stage: deploy
image: docker:19.03
before_script:
@ -331,9 +321,6 @@ deploy:docker:
- docker push ${DOCKER_IMAGE}/dev-debian-armhf:latest
tags:
- docker
only:
# Only on version tags
- "/^v\\d+(\\.\\d+)+$/"
deploy:docker:tags:
stage: deploy
@ -352,3 +339,23 @@ deploy:docker:tags:
only:
# Only on version tags
- "/^v\\d+(\\.\\d+)+$/"
deploy:packages:manual:
<<: *deploy_packages
when: manual
deploy:packages:tags:
<<: *deploy_packages
only:
# Only on version tags
- "/^v\\d+(\\.\\d+)+$/"
deploy:docker:manual:
<<: *deploy_docker_latest
when: manual
deploy:docker:tags:
<<: *deploy_docker_latest
only:
# Only on version tags
- "/^v\\d+(\\.\\d+)+$/"