Only save docker cache from master

This commit is contained in:
tooomm 2026-03-21 23:23:10 +01:00 committed by GitHub
parent 33d34004c6
commit a5a7d5023d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,4 +64,4 @@ jobs:
labels: ${{ steps.metadata.outputs.labels }}
annotations: ${{ steps.metadata.outputs.annotations }}
cache-from: type=gha,scope=servatrice
cache-to: type=gha,mode=max,scope=servatrice
cache-to: ${{ github.ref == 'refs/heads/master' && 'type=gha,mode=max,scope=servatrice' || '' }}