mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-21 05:55:35 +00:00
Add safe.directory git config to fix the issue reported on https://github.com/tektoncd/pipeline/issues/4966 and fix the tests
This commit is contained in:
parent
3af2ad454d
commit
431e65f2fa
@ -173,7 +173,8 @@ spec:
|
||||
if [ "${PARAM_VERBOSE}" = "true" ] ; then
|
||||
set -x
|
||||
fi
|
||||
|
||||
|
||||
git config --global --add safe.directory "${CHECKOUT_DIR}"
|
||||
|
||||
if [ "${WORKSPACE_BASIC_AUTH_DIRECTORY_BOUND}" = "true" ] ; then
|
||||
cp "${WORKSPACE_BASIC_AUTH_DIRECTORY_PATH}/.git-credentials" "${PARAM_USER_HOME}/.git-credentials"
|
||||
|
Loading…
Reference in New Issue
Block a user