Skip to content

Commit

Permalink
ci: docker: disable layer caching for scheduled runs
Browse files Browse the repository at this point in the history
This way the image is always freshly built
  • Loading branch information
elopez committed Nov 1, 2023
1 parent f2ebb01 commit 53bab23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache-from: type=gha
cache-from: ${{ (github.event_name != 'schedule' && 'type=gha') || '' }}
cache-to: type=gha,mode=max

0 comments on commit 53bab23

Please sign in to comment.