Loading .gitlab-ci.yml +1 −0 Original line number Diff line number Diff line Loading @@ -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' Loading Loading
.gitlab-ci.yml +1 −0 Original line number Diff line number Diff line Loading @@ -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' Loading