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

Update .gitlab-ci.yml

parent 993e28ee
No related branches found
No related tags found
No related merge requests found
Pipeline #284995 passed with warnings
......@@ -80,5 +80,5 @@ 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 frontend || true; docker pull registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend && docker run -d -p 81:80 --name frontend registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend"
- sshpass -p $ssh_password ssh -v -o StrictHostKeyChecking=no $ssh_user@$ssh_ip "docker rm -f frontend || true; docker pull registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend && docker run -d -p 81:80 --name frontend registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend"
when: manual
\ No newline at end of file
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