Skip to content

Commit d8f875f

Browse files
committed
fix: Mark repo dir as safe
1 parent 8ae1542 commit d8f875f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN apk add --update --no-cache git
1919

2020
COPY --from=builder /workspace/bin/git-version /bin
2121

22-
RUN mkdir -p /repo
22+
RUN mkdir -p /repo && git config --global --add safe.directory /repo
2323
VOLUME /repo
2424

2525
CMD ["/bin/git-version", "--folder=/repo"]

0 commit comments

Comments
 (0)