Skip to content

Commit

Permalink
fix(ci): Add environment variables for back to Dockerfile and both wo…
Browse files Browse the repository at this point in the history
…rkflows (#240)
  • Loading branch information
phoenixpereira authored Feb 4, 2025
1 parent 8781299 commit febfc3a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}

- name: Build Docker container
env:
NEXT_PUBLIC_KEYCLOAK_REDIRECT_URI: ${{ secrets.NEXT_PUBLIC_KEYCLOAK_REDIRECT_URI }}
NEXT_PUBLIC_AUTH_KEYCLOAK_ISSUER: ${{ secrets.NEXT_PUBLIC_AUTH_KEYCLOAK_ISSUER }}
NEXT_PUBLIC_DRIVE_LINK: ${{ secrets.NEXT_PUBLIC_DRIVE_LINK }}
NEXT_PUBLIC_UMAMI_WEBSITE_ID: ${{ secrets.NEXT_PUBLIC_UMAMI_WEBSITE_ID }}
run: |
docker buildx build \
--secret id=NEXT_PUBLIC_KEYCLOAK_REDIRECT_URI \
--secret id=NEXT_PUBLIC_AUTH_KEYCLOAK_ISSUER \
--secret id=NEXT_PUBLIC_DRIVE_LINK \
--secret id=NEXT_PUBLIC_UMAMI_WEBSITE_ID \
--file=Dockerfile -t csclub-website .

0 comments on commit febfc3a

Please sign in to comment.