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

Commit b56f78e2 authored by Romain Hunault's avatar Romain Hunault
Browse files

Update GitLab registry url and project group

parent 2011d432
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -16,11 +16,11 @@ build:
  - /^master/
  stage: build
  script:
  - docker build -t registry.gitlab.eelo.io:5000/eelo/lineageota .
  - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.eelo.io:5000
  - docker push registry.gitlab.eelo.io:5000/eelo/lineageota
  - docker build -t registry.gitlab.e.foundation:5000/e/os/lineageota .
  - 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@eota.online 'docker pull registry.gitlab.eelo.io:5000/eelo/lineageota'
  - ssh -2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@eota.online 'docker pull registry.gitlab.e.foundation:5000/e/os/lineageota'
  - ssh -2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@eota.online 'cd /mnt/docker/compose/ && docker-compose up -d'
  - ssh -2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@eota.online 'docker restart nginx'
  - rm -rf ~/.ssh