Skip to content
Snippets Groups Projects
Commit ae13190d authored by Andreas Kluge Svendsrud's avatar Andreas Kluge Svendsrud
Browse files

Update .gitlab-ci.yml

parent 8db95f82
No related branches found
No related tags found
No related merge requests found
Pipeline #285139 passed
......@@ -80,7 +80,7 @@ deploy_docker:
- apt-get -yqq install ssh
- apt-get install sshpass
script:
- sshpass -p sParest1en ssh -v -o StrictHostKeyChecking=no root@128.199.53.153 "docker rm -f backend || true; docker pull registry.gitlab.com/$DOCKER_USER/sparesti-registry:backend && docker run -p 8080:8080 -d --name backend registry.gitlab.com/$DOCKER_USER/sparesti-registry:backend"
- sshpass -p $ssh_password ssh -v -o StrictHostKeyChecking=no $ssh_user@$ssh_ip "docker rm -f backend || true; docker pull registry.gitlab.com/$DOCKER_USER/sparesti-registry:backend && docker run -p 8080:8080 -d --name backend registry.gitlab.com/$DOCKER_USER/sparesti-registry:backend"
when: manual
only:
- master
......
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