diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 804f7a7167..f787e000b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,6 @@ stages: GOPATH: '/go' script: - mkdir -p $HOME/.docker && cat $DOCKER_CONFIG_JSON > $HOME/.docker/config.json - - git config --global --add safe.directory $CI_PROJECT_DIR #lint: # stage: lint @@ -33,7 +32,7 @@ build: stage: build extends: .base script: - - echo $CI_PROJECT_DIR + - git config --global --add safe.directory $CI_PROJECT_DIR - make go.modules.tidy - | if [[ $CI_COMMIT_TAG =~ ^v?[0-9]{1,4}.[0-9]{1,4}.[0-9]{1,4}$ ]]; then