Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

attempt to fix sentry auth issue

Amruth Pillaic91af3668df8
diff --git a/.env.example b/.env.example
index 65e3ab1a7..7f5a61f0a 100644
--- a/.env.example
+++ b/.env.example
@@ -3,6 +3,7 @@ TURBO_TEAM=
TURBO_TOKEN=
# Sentry Error Logging (Optional)
+SENTRY_AUTH_TOKEN=
SERVER_SENTRY_DSN=
PUBLIC_CLIENT_SENTRY_DSN=
diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml
index 0c9491504..506f2c0d2 100644
--- a/.github/workflows/docker-build-push.yml
+++ b/.github/workflows/docker-build-push.yml
@@ -48,16 +48,6 @@ jobs:
username: $GITHUB_REPOSITORY_OWNER
password: ${{ secrets.GH_TOKEN }}
- - name: Create Sentry Release
- uses: getsentry/[email protected]
- env:
- SENTRY_ORG: reactive-resume
- SENTRY_PROJECT: ${{ matrix.image }}
- SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
- with:
- environment: production
- version: ${{ steps.version.outputs.current-version }}
-
- name: Build and Push Docker Image
uses: docker/[email protected]
with:
@@ -65,8 +55,20 @@ jobs:
push: true
platforms: linux/amd64
file: ${{ matrix.image }}/Dockerfile
+ secrets: |
+ "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}"
tags: |
amruthpillai/reactive-resume:${{ matrix.image }}-latest
amruthpillai/reactive-resume:${{ matrix.image }}-${{ steps.version.outputs.current-version }}
ghcr.io/amruthpillai/reactive-resume:${{ matrix.image }}-latest
ghcr.io/amruthpillai/reactive-resume:${{ matrix.image }}-${{ steps.version.outputs.current-version }}
+
+ - name: Create Sentry Release
+ uses: getsentry/[email protected]
+ env:
+ SENTRY_ORG: reactive-resume
+ SENTRY_PROJECT: ${{ matrix.image }}
+ SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
+ with:
+ environment: production
+ version: ${{ steps.version.outputs.current-version }}