From f5aa19214c16d180d8a58593886aa48b7d60917c Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Tue, 17 Dec 2024 22:17:35 +0300 Subject: [PATCH] Change secret setup --- .github/workflows/ci_cd.yml | 3 +++ frontend/Dockerfile | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 5b2c8a80fa4..877bc506435 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -153,6 +153,9 @@ jobs: - determine-images steps: + - name: Checkout repository + uses: actions/checkout@v4 + # Sets up `just` and Node.js. # Node.js is needed for the frontend to download translations. # `just` is needed to run the recipes and set build args. diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 215528735b3..97d1e6734f5 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -50,9 +50,9 @@ ENV SEMANTIC_VERSION=${SEMANTIC_VERSION} RUN printenv RUN --mount=type=secret,id=sentry_auth_token \ - export SENTRY_AUTH_TOKEN="$(cat /run/secrets/sentry_auth_token)" -RUN printenv +RUN export SENTRY_AUTH_TOKEN="$(cat /run/secrets/sentry_auth_token)" && printenv + RUN pnpm build ############ # Nuxt app #