Skip to content

Commit 4eea3e7

Browse files
Declaring /opt/app-root-/src safe (#273)
1 parent 608cfe2 commit 4eea3e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ RUN --mount=type=secret,id=build-container-additional-secret/secrets,required=fa
5050
else \
5151
echo "Sentry: no token for ${APP_NAME} – using any pre-set token (if provided) or skipping upload."; \
5252
fi; \
53+
# Telling git this path is safe
54+
git config --global --add safe.directory /opt/app-root/src; \
5355
universal_build.sh
5456
USER default
5557

0 commit comments

Comments
 (0)