Skip to content
Snippets Groups Projects
Commit 85bf00c2 authored by Zhu, Ling Dr (Elec Electronic Eng)'s avatar Zhu, Ling Dr (Elec Electronic Eng)
Browse files

Update .gitlab-ci.yml

parent 99c4bee4
No related branches found
No related tags found
No related merge requests found
Pipeline #28934 passed
......@@ -42,7 +42,7 @@ deploy:
script:
- chmod og= $ID_RSA
- apk update && apk add openssh-client
- ssh -i $ID_RSA -o StrictHostKeyChecking=no root@10.5.24.29 "docker login -u cicd -p x8x_9DwsywDzAPviBX7s"
- ssh -i $ID_RSA -o StrictHostKeyChecking=no root@10.5.24.29 "docker login -u cicd -p x8x_9DwsywDzAPviBX7s gitlab-registry.eps.surrey.ac.uk"
- ssh -i $ID_RSA -o StrictHostKeyChecking=no root@10.5.24.29 "docker pull gitlab-registry.eps.surrey.ac.uk/lz0002/hello"
- ssh -i $ID_RSA -o StrictHostKeyChecking=no root@10.5.24.29 "docker container rm -f my-hello-svr || true"
- ssh -i $ID_RSA -o StrictHostKeyChecking=no root@10.5.24.29 "docker run -d -p 8999:8999 --name my-hello-svr gitlab-registry.eps.surrey.ac.uk/lz0002/hello"
\ 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