[web] run sentry as current user to match up with the git-repo owner (#27964)

GitOrigin-RevId: a0736a6d7d8a24ec6a7b539526f52d3c2749c0bb
This commit is contained in:
Jakob Ackermann
2025-08-15 16:40:22 +02:00
committed by Copybot
parent f66fe7a123
commit c006666837

View File

@@ -578,6 +578,7 @@ sentry_upload: MONOREPO=$(shell cd ../../ && pwd)
sentry_upload:
docker run --rm \
--volume $(MONOREPO):$(MONOREPO) --workdir $(PWD) \
--user "$(shell id -u):$(shell id -g)" \
--env BRANCH_NAME --env SENTRY_RELEASE \
--entrypoint bin/sentry_upload \
$(SENTRY_IMAGE)