From bf7dca6d8626cae3bf39834aabc518ff0337adbe Mon Sep 17 00:00:00 2001 From: Ashutosh Narkar Date: Thu, 31 Oct 2024 16:28:08 -0700 Subject: [PATCH] Disable git safe directory check Signed-off-by: Ashutosh Narkar --- build/build-release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/build-release.sh b/build/build-release.sh index dd8589001..80628aa57 100755 --- a/build/build-release.sh +++ b/build/build-release.sh @@ -46,6 +46,7 @@ build_release() { } clone_repo() { + git config --system --add safe.directory '*' git clone $SOURCE_URL /go/src/github.com/open-policy-agent/opa-envoy-plugin cd /go/src/github.com/open-policy-agent/opa-envoy-plugin if [ -n "$VERSION" ]; then