Skip to content

Commit

Permalink
fix(ci): Use Docker output type and tar.gz (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixpereira authored Sep 5, 2024
1 parent 4df2040 commit 373b660
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,15 @@ jobs:
PRODUCTION_BUILD: 'true'
run: |
docker buildx build \
--platform linux/arm64 \
--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 \
--tag csclub-website:latest \
--output type=tar,dest=csclub-website.tar.gz \
.
--output type=docker,dest=csclub-website.tar \
--platform=linux/arm64 --file=Dockerfile -t csclub-website .
gzip csclub-website.tar
- name: Save Docker cache
if: success()
Expand Down

0 comments on commit 373b660

Please sign in to comment.