Fix GHA cache collision between remote and local release builds

Both matrix targets were sharing the same cache scope, causing
overwrites and cache misses. Scope caches per target.
This commit is contained in:
Pier-Jean Malandrino 2026-04-03 13:02:07 +02:00
parent 2cbef859e7
commit ac4a98e204

View file

@ -55,5 +55,5 @@ jobs:
build-args: APP_VERSION=${{ steps.version.outputs.value }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=gha,scope=${{ matrix.target }}
cache-to: type=gha,mode=max,scope=${{ matrix.target }}