Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
0niel committed Oct 7, 2023
2 parents 9c71769 + a464631 commit 1bf738e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ jobs:
run: |
docker build \
--pull \
--build-arg NEXT_PUBLIC_REDIRECT_HOSTNAME=${{ env.PROD_URL }} \
--build-arg NEXT_PUBLIC_AUTH_REDIRECT_URL=${{ env.NEXT_PUBLIC_AUTH_REDIRECT_URL }} \
--build-arg NEXT_PUBLIC_SUPABASE_URL=${{ env.NEXT_PUBLIC_SUPABASE_URL }} \
--build-arg NEXT_PUBLIC_SUPABASE_ANON_KEY=${{ env.NEXT_PUBLIC_SUPABASE_ANON_KEY }} \
--build-arg SENTRY_URL=${{ env.SENTRY_URL }} \
--build-arg SENTRY_ORG=${{ env.SENTRY_ORG }} \
--build-arg SENTRY_PROJECT=${{ env.SENTRY_PROJECT }} \
Expand Down
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ RUN \
# Rebuild the source code only when needed
FROM base AS builder

ARG NEXT_PUBLIC_REDIRECT_HOSTNAME
ENV NEXT_PUBLIC_REDIRECT_HOSTNAME=$NEXT_PUBLIC_REDIRECT_HOSTNAME
ARG NEXT_PUBLIC_AUTH_REDIRECT_URL
ENV NEXT_PUBLIC_AUTH_REDIRECT_URL=$NEXT_PUBLIC_AUTH_REDIRECT_URL

ARG NEXT_PUBLIC_SUPABASE_URL
ENV NEXT_PUBLIC_SUPABASE_URL=$NEXT_PUBLIC_SUPABASE_URL

ARG NEXT_PUBLIC_SUPABASE_ANON_KEY
ENV NEXT_PUBLIC_SUPABASE_ANON_KEY=$NEXT_PUBLIC_SUPABASE_ANON_KEY

ARG SENTRY_URL
ENV SENTRY_URL=$SENTRY_URL
Expand Down

0 comments on commit 1bf738e

Please sign in to comment.