From bb0f517084da5c3174353c216d72fe256ee432ec Mon Sep 17 00:00:00 2001 From: The_Spider Date: Thu, 14 Apr 2022 10:49:25 -0500 Subject: [PATCH] adds safe.directory --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 2b33eeb..c78234e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,6 +17,7 @@ COPY . /go/src/app WORKDIR /go/src/app RUN apk add --no-cache git upx && \\ + git config --global --add safe.directory /go/src/app && \\ addgroup -S -g 1000 app && \\ adduser --disabled-password -G app --gecos "application account" --home "/home/app" --shell "/sbin/nologin" --no-create-home --uid 1000 app && \\ go get -d -v ./... && \\