Skip to content

Commit e37f17d

Browse files
committed
chore: mark all directories as safe in global git configuration
- Add global git configuration to mark all directories as safe Signed-off-by: appleboy <appleboy.tw@gmail.com>
1 parent fdf995d commit e37f17d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM ghcr.io/appleboy/drone-git-push:1.2.1
22

33
COPY entrypoint.sh /entrypoint.sh
44

5+
RUN git config --system --add safe.directory '*'
6+
57
USER nobody
68

79
ENV GITHUB_WORKSPACE=/github/workspace

0 commit comments

Comments
 (0)