Просмотр исходного кода

CI: fix upload submodule cache for runners using mirror server

Chen Yudong 3 лет назад
Родитель
Сommit
3ed2b844c5
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      .gitlab/ci/upload_cache.yml

+ 2 - 0
.gitlab/ci/upload_cache.yml

@@ -40,6 +40,8 @@ upload-submodules-cache:
       - .cache/submodule_archives
     policy: push
   script:
+    # use the default gitlab server
+    - unset LOCAL_GITLAB_HTTPS_HOST
     - rm -rf .cache/submodule_archives  # clear old submodule archives
     - add_gitlab_ssh_keys
     - fetch_submodules