Skip to content

Commit

Permalink
use cache mode=max
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmwang committed Dec 15, 2024
1 parent f16def9 commit e773420
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd-deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ jobs:
uses: docker/build-push-action@v6
with:
context: docs
push: true
target: docs-prod
tags: ${{ secrets.DOCKER_USERNAME }}/bt-docs:prod
cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/bt-docs:prod-cache
cache-to: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/bt-docs:prod-cache
cache-to: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/bt-docs:prod-cache,mode=max
platforms: linux/amd64
push: true

deploy:
name: SSH and Deploy
Expand Down

0 comments on commit e773420

Please sign in to comment.