Skip to content

Commit

Permalink
fix(ci): Output tar file correctly (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixpereira authored Sep 5, 2024
1 parent a80b3bc commit 4df2040
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,16 @@ jobs:
run: |
docker buildx build \
--platform linux/arm64 \
--tag csclub-website:latest \
--cache-from=type=local,src=/tmp/.buildx-cache \
--cache-to=type=local,dest=/tmp/.buildx-cache-new,mode=max \
--secret id=DATABASE_URL \
--secret id=REDIS_URI \
--secret id=NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY \
--secret id=NEXT_PUBLIC_DRIVE_LINK \
--file=Dockerfile -t csclub-website .
docker image save csclub-website | gzip > csclub-website.tar.gz
--file=Dockerfile \
--tag csclub-website:latest \
--output type=tar,dest=csclub-website.tar.gz \
.
- name: Save Docker cache
if: success()
Expand Down

0 comments on commit 4df2040

Please sign in to comment.