Skip to content
Snippets Groups Projects
Commit ff76fde3 authored by Cedric Vinet's avatar Cedric Vinet
Browse files

Merge branch 'deploy_to_swarm' into 'master'

add swarm deployment

See merge request !123
parents d84ff7ce 2ad44521
No related branches found
No related tags found
1 merge request!123add swarm deployment
Pipeline #200452 failed
...@@ -18,3 +18,15 @@ build-and-publish: ...@@ -18,3 +18,15 @@ build-and-publish:
- docker push "${DOCKER_REGISTRY}-doi-landing-page:${CI_COMMIT_REF_SLUG}" - docker push "${DOCKER_REGISTRY}-doi-landing-page:${CI_COMMIT_REF_SLUG}"
rules: rules:
- !reference [.only_tags] - !reference [.only_tags]
deploy:
extends: .docker-template
stage: release
tags:
- docker
image: docker-registry.esrf.fr/cs/ci-deploy
script:
- whdeploy "$CI_COMMIT_REF_SLUG"
- retag "$DOCKER_REGISTRY:$CI_COMMIT_REF_SLUG" "production"
rules:
- !reference [.only_tags_manual]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment