From 5759d7fb927b70151a77910e8aef1e9c2cb8261d Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Fri, 12 Aug 2022 09:42:23 -0300 Subject: [PATCH] fix: git safe directory closes #3233 Signed-off-by: Carlos A Becker --- scripts/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 2a99e77e0fb..820687d6644 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 $@