Commit f6818b55 authored by adietmue's avatar adietmue

Use a more reliable method to deploy new docker image.

parent f533ff14
......@@ -80,7 +80,7 @@ backend_deploy:
SSH_DEPLOY_KEY: $DEPLOY_PRIVATE_KEY
script:
- ssh -4 $DEPLOY_HOST "docker pull $CI_REGISTRY_IMAGE_BACKEND; docker service update --force $DEPLOY_SERVICE_BACKEND;"
- ssh -4 $DEPLOY_HOST "docker service update --image $CI_REGISTRY_IMAGE_BACKEND --force $DEPLOY_SERVICE_BACKEND;"
only:
- master
......
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