diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 48e753579996832fdd641e74e4114621431e7da2..f10f6a261b85b0810e49fc68453ad2a6f4e37501 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: