Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 618c120f authored by thilo's avatar thilo
Browse files

Update .gitlab-ci.yml

parent e746713d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ build:
  - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.e.foundation:5000
  - docker push registry.gitlab.e.foundation:5000/e/os/lineageota
  - mkdir ~/.ssh && echo "${SSHPRIVKEY_TEST}" > ~/.ssh/id_rsa && chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
  - ssh -2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@ota.ecloud.global 'docker login registry.gitlab.e.foundation:5000'
  - ssh -2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@ota.ecloud.global 'docker pull registry.gitlab.e.foundation:5000/e/os/lineageota'
  - ssh -2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@ota.ecloud.global 'cd /mnt/docker/compose/ && docker-compose up -d'
  - ssh -2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@ota.ecloud.global 'docker restart nginx'