diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55092c21e675564440effe043a7a2c22cdde2406..d7159cd6222d07d97e99c56b0f1be70c438388a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,10 +18,10 @@ before_script: - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh - chmod 700 ~/.ssh - - ssh-keyscan -t rsa gitlab.com > ~/.ssh/known_hosts - - git config --global url."git@gitlab.com:".insteadOf "https://gitlab.com/" + - ssh-keyscan -t rsa $GITLAB_SERVER > ~/.ssh/known_hosts + - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://gitlab.com/" + - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://git.xx.network/" - export PATH=$HOME/go/bin:$PATH - - export GOPRIVATE="*gitlab.com/elixxir/*,*gitlab.com/xx_network/*" stages: