File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1+ # syntax = docker/dockerfile:1.2
12FROM node:17-buster
23# Create app directory
34WORKDIR /usr/src/app
@@ -27,7 +28,7 @@ RUN echo $SENTRY_ORG
2728RUN echo $SENTRY_PROJECT
2829RUN echo $SENTRY_VERSION
2930
30- RUN npx -y @sentry/cli releases new $SENTRY_VERSION --org $SENTRY_ORG --project $SENTRY_PROJECT --auth-token $(cat /run/secrets/sentry_auth_token)
31+ RUN --mount=type=secret,id=sentry_auth_token npx -y @sentry/cli releases new $SENTRY_VERSION --org $SENTRY_ORG --project $SENTRY_PROJECT --auth-token $(cat /run/secrets/sentry_auth_token)
3132RUN npx -y @sentry/cli releases files $SENTRY_VERSION upload-sourcemaps --ext map --ext js --ext ts ./dist --org $SENTRY_ORG --project $SENTRY_PROJECT --auth-token $SENTRY_AUTH_TOKEN
3233RUN npx -y @sentry/cli releases set-commits $SENTRY_VERSION --auto --org $SENTRY_ORG --project $SENTRY_PROJECT --auth-token $SENTRY_AUTH_TOKEN
3334RUN npx -y @sentry/cli releases finalize $SENTRY_VERSION --org $SENTRY_ORG --project $SENTRY_PROJECT --auth-token $SENTRY_AUTH_TOKEN
You can’t perform that action at this time.
0 commit comments