diff --git a/build-pipeline.yml b/build-pipeline.yml index ac6d0184c5c108109359f4d8029327a4a51d7dea..2fa5e9d77edf46f6af7104e81c0a0c57156f66c6 100644 --- a/build-pipeline.yml +++ b/build-pipeline.yml @@ -47,8 +47,14 @@ workflow: - echo "$SSH_CONFIG" > ~/.ssh/config .setup_git_credentials: &setup_git_credentials + # Set access to SECO repos via token + - git config + --global url.https://gitlab-ci-token:${GITBOT_TOKEN}@git.seco.com/.insteadOf + https://git.seco.com/ + # Set some credentials from private upstream repos - echo "Setup Git Credentials Cache" - git config --global credential.helper 'cache --timeout 86400' + - git config --global credential.helper store - git config --global credential.useHttpPath true - git config --global --add safe.directory "*" # Following format should be used for GITLAB_PRIVATE_TOKEN: