Skip to content

Commit

Permalink
Change secret setup
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Dec 17, 2024
1 parent ce9d35e commit f5aa192
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 #
Expand Down

0 comments on commit f5aa192

Please sign in to comment.