diff --git a/entrypoint.sh b/entrypoint.sh index 79b95ce..953f783 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,6 +27,7 @@ branch="$(git symbolic-ref --short HEAD)" branch_uri="$(urlencode ${branch})" sh -c "git config --global credential.username $GITLAB_USERNAME" +sh -c "git config --global --add safe.directory /github/workspace" sh -c "git config --global core.askPass /cred-helper.sh" sh -c "git config --global credential.helper cache" sh -c "git remote add mirror $*"