mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-06 01:35:47 +03:00
chg: build workflow - use scope to prevent multiple os caches from overwriting each other
This commit is contained in:
parent
c5ea3d292c
commit
f6ddc5cf49
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -160,4 +160,6 @@ jobs:
|
||||
target: ${{ matrix.tag.target }}
|
||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
# GHA default behaviour overwrites last build cache. Causes alpine and ubuntu cache to overwrite each other.
|
||||
# Use `scope` with the os name to prevent that
|
||||
cache-to: 'type=gha,mode=max,scope=${{ matrix.os }}'
|
||||
|
Loading…
Reference in New Issue
Block a user