From a72a7bc8a094bcc463ef7aa139f28df848dc6ebe Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Tue, 10 Jan 2023 09:52:53 -0500 Subject: [PATCH] Add safe.directory at system rather than global It's possible that GitHub actions are messing with the global config, so let's try setting the safe directory at the system level. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 421e7d1..6d27da8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,6 @@ WORKDIR /tmp/ RUN git clone https://github.com/perl-actions/ci-perl-tester-helpers.git --depth 1 && \ cp ci-perl-tester-helpers/bin/* /usr/local/bin/ && \ rm -rf ci-perl-tester-helpers && \ - git config --global --add safe.directory '*' + git config --system --add safe.directory '*' CMD ["/bin/bash"]