diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 89bcf6d4420..1e7e4e7338b 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -49,7 +49,6 @@ ENV NODE_OPTIONS="--max_old_space_size=4096" ENV SEMANTIC_VERSION=${SEMANTIC_VERSION} ENV ADD_SENTRY_RELEASE=${ADD_SENTRY_RELEASE} - RUN --mount=type=secret,id=sentry_auth_token,mode=0444 \ sh -c 'if [ "$ADD_SENTRY_RELEASE" = "true" ]; then \ SENTRY_AUTH_TOKEN="$(cat /run/secrets/sentry_auth_token)" && \ diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index 9aa2071af27..653902a28cc 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -131,6 +131,7 @@ export default defineNuxtConfig({ sourceMapsUploadOptions: { org: "openverse", project: "openverse-frontend", + authToken: process.env.SENTRY_AUTH_TOKEN, }, unstable_sentryBundlerPluginOptions: { release: {