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:
parent
2cbef859e7
commit
ac4a98e204
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue