Przeglądaj źródła

CI: fix upload submodule cache for runners using mirror server

Chen Yudong 3 lat temu
rodzic
commit
3ed2b844c5
1 zmienionych plików z 2 dodań i 0 usunięć
  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