Minor fix

This commit is contained in:
Rodrigo Q. Saramago 2022-09-12 16:55:23 +02:00
parent c8fb2022e1
commit f2de085dfe
No known key found for this signature in database
GPG Key ID: 9B36B2525704A359
2 changed files with 3 additions and 3 deletions

View File

@ -1043,9 +1043,9 @@ jobs:
TERM: xterm
MAKEFLAGS: -j 10
steps:
# NOTE: work around to git unsafe repository error by adding /project as a safe.directory
# NOTE: work around to git unsafe repository error by adding $CIRCLE_WORKING_DIRECTORY as a safe.directory
# See https://github.com/CircleCI-Public/cimg-base/issues/170
- run: git config --global --add safe.directory /project
- run: git config --global --add safe.directory ${CIRCLE_WORKING_DIRECTORY}
- checkout
- run:
name: Build

View File

@ -51,7 +51,7 @@ docker build "scripts/docker/${IMAGE_NAME}" --file "scripts/docker/${IMAGE_NAME}
echo "-- test_docker @ '${PWD}'"
# NOTE: Since /project/ is a dir from outside the container and the owner of the files is different,
# NOTE: Since ~/project is a dir from outside the container and the owner of the files is different,
# git show in the script refuses to work. It must be marked as safe to use first.
# See https://github.blog/2022-04-12-git-security-vulnerability-announced/
docker run \