[skip ci] Add deploy configuration

parent 7c5a67df
Pipeline #22 failed
......@@ -25,6 +25,12 @@ release-image:latest:
only:
- master
deploy:swarm:
stage: deploy
image: kroniak/ssh-client:latest
script:
- ssh ${CI_SWARM_DEPLOY_USER}@${CI_SWARM_DEPLOY_MANAGER} cd ${SWARM_REPO_PATH} && git pull && docker service rm ${SWARM_SVC_NAME} && docker stack deploy -c docker-compose.yml ${SWARM_SVC_NAME} --with-registry-auth
release-image:tags:
stage: release
script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment