diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2800d8..6e851aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,17 +14,15 @@ docker-build: cache: [] # disable cache to prevent old layers image: docker:dind variables: - HTTPS_PROXY: "http://172.17.0.1:7890" - HTTP_PROXY: "http://172.17.0.1:7890" stage: build when: manual services: - docker:dind before_script: - - echo "$CI_REGISTRY_PASSWORD" | docker login glcr.cra.ac.cn --username "$CI_REGISTRY_USER" --password-stdin + - echo "$CI_REGISTRY_PASSWORD" | docker login glcr.cklau.cc --username "$CI_REGISTRY_USER" --password-stdin # Default branch leaves tag empty (= latest tag) # All other branches are tagged with the escaped branch name (commit ref slug) script: - | - docker build -t "glcr.cra.ac.cn/sustech-cra/overleaf-ldap-oauth2:3.1-20220612" . - docker push "glcr.cra.ac.cn/sustech-cra/overleaf-ldap-oauth2:3.1-20220612" + docker build -t "glcr.cklau.cc/bayes-cluster/overleaf-sso" . + docker push "glcr.cklau.cc/bayes-cluster/overleaf-sso"