diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 2a99e77e0..820687d66 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -26,7 +26,7 @@ if [ -n "$CI_REGISTRY_PASSWORD" ]; then fi # prevents git from complaining about unsafe dir, specially when using github actions -git config --global --add safe.directory . +git config --global --add safe.directory $PWD # shellcheck disable=SC2068 exec goreleaser $@