From aad607fe01009ada8eee70eb5f7d2610bc10a812 Mon Sep 17 00:00:00 2001 From: Niklas Linnanen Date: Thu, 25 Jan 2024 09:21:50 +0200 Subject: [PATCH] Remove sentry tokens breaking the pipelines --- .github/workflows/production-docker.yml | 1 - docker/dockerfiles/Dockerfile.prod | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/production-docker.yml b/.github/workflows/production-docker.yml index 92c7da5ed..60c946d01 100644 --- a/.github/workflows/production-docker.yml +++ b/.github/workflows/production-docker.yml @@ -58,7 +58,6 @@ jobs: ilmo-server ${{ secrets.REGISTRY_LOGIN_SERVER }}/ilmo/ilmo-server secrets: | - SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} GITHUB_SHA=${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max diff --git a/docker/dockerfiles/Dockerfile.prod b/docker/dockerfiles/Dockerfile.prod index 502291744..e5e698d6e 100644 --- a/docker/dockerfiles/Dockerfile.prod +++ b/docker/dockerfiles/Dockerfile.prod @@ -49,7 +49,6 @@ COPY data/ /app/data/ # for explanation of the --mount's RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \ --mount=type=secret,id=GITHUB_SHA \ - export SENTRY_AUTH_TOKEN=$(cat /run/secrets/SENTRY_AUTH_TOKEN) && \ export GITHUB_SHA=$(cat /run/secrets/GITHUB_SHA) && \ NEXT_TRANSLATE_PATH=../client yarn build