Skip to content

Commit 246ea16

Browse files
more debugging
1 parent 0df9a13 commit 246ea16

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/deploy-image.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
labels: ${{ steps.meta.outputs.labels }}
5858
secrets: |
5959
"sentry_auth_token=${{ secrets.SENTRY_AUTH_TOKEN }}"
60+
"sentry_org=${{ secrets.SENTRY_ORG }}"
61+
"sentry_project=${{ secrets.SENTRY_PROJECT }}"
62+
"sentry_version=${{ github.sha }}"
6063
build-args: |
6164
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
6265
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN echo $SENTRY_ORG
2828
RUN echo $SENTRY_PROJECT
2929
RUN echo $SENTRY_VERSION
3030

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)
31+
RUN --mount=type=secret,id=sentry_auth_token --mount=type=secret,id=sentry_org --mount=type=secret,id=sentry_project --mount=type=secret,id=sentry_version npx -y @sentry/cli releases new $(cat /run/secrets/sentry_version) --org $(cat /run/secrets/sentry_org) --project $(cat /run/secrets/sentry_project) --auth-token $(cat /run/secrets/sentry_auth_token)
3232
RUN 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
3333
RUN npx -y @sentry/cli releases set-commits $SENTRY_VERSION --auto --org $SENTRY_ORG --project $SENTRY_PROJECT --auth-token $SENTRY_AUTH_TOKEN
3434
RUN npx -y @sentry/cli releases finalize $SENTRY_VERSION --org $SENTRY_ORG --project $SENTRY_PROJECT --auth-token $SENTRY_AUTH_TOKEN

0 commit comments

Comments
 (0)