Skip to content

Commit

Permalink
fix(dashboard): sentry back to pipeline (#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudambro authored Oct 10, 2023
1 parent 88b9d23 commit 4bf65bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ COPY dashboard/. .
ENV NODE_ENV=production

RUN --mount=type=secret,id=sentry_auth_token \
yarn build;
yarn build; \
if [ -f "/run/secrets/sentry_auth_token" ]; then \
export SENTRY_AUTH_TOKEN=$(cat /run/secrets/sentry_auth_token); \
yarn sentry:sourcemaps; \
fi


FROM ghcr.io/socialgouv/docker/nginx4spa:7.0.1
Expand Down

0 comments on commit 4bf65bd

Please sign in to comment.