Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
# Only main/tag builds write the cache. PR builds read it but never
# export — the mode=max export re-uploads every stage's layers
# (~1GB of node_modules) whenever package.json changes, which was
# ~270s of every release-bump and Renovate PR build.
cache-to: ${{ github.event_name != 'pull_request' && 'type=gha,mode=max' || '' }}
build-args: |
DATABASE_URL=postgresql://localhost:5432/dispatch

Expand Down