Skip to content

Commit

Permalink
fix(ci): Pass NEXT_PUBLIC_DRIVE_LINK as a build argument in productio…
Browse files Browse the repository at this point in the history
…n workflow
  • Loading branch information
phoenixpereira committed Feb 5, 2025
1 parent bf018ac commit 7e9a60a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ jobs:

- name: Build Docker container
env:
NEXT_PUBLIC_DRIVE_LINK: ${{ secrets.NEXT_PUBLIC_DRIVE_LINK }}
PRODUCTION_BUILD: 'true'
run: |
docker buildx build \
--build-arg NEXT_PUBLIC_DRIVE_LINK=${{ secrets.NEXT_PUBLIC_DRIVE_LINK }} \
--output type=docker,dest=csclub-website.tar \
--platform=linux/arm64 --file=Dockerfile -t csclub-website .
gzip csclub-website.tar
Expand Down

0 comments on commit 7e9a60a

Please sign in to comment.