mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-11 12:47:14 +03:00
fix: build workflow - missing scope on cache-from
This commit is contained in:
parent
f6ddc5cf49
commit
9ab3199e13
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -159,7 +159,7 @@ jobs:
|
|||||||
platforms: ${{ matrix.os != 'ubuntu' && env.DOCKER_PLATFORMS || env.DOCKER_PLATFORMS_UBUNTU }}
|
platforms: ${{ matrix.os != 'ubuntu' && env.DOCKER_PLATFORMS || env.DOCKER_PLATFORMS_UBUNTU }}
|
||||||
target: ${{ matrix.tag.target }}
|
target: ${{ matrix.tag.target }}
|
||||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
|
||||||
# GHA default behaviour overwrites last build cache. Causes alpine and ubuntu cache to overwrite each other.
|
# 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
|
# Use `scope` with the os name to prevent that
|
||||||
|
cache-from: 'type=gha,scope=${{ matrix.os }}'
|
||||||
cache-to: 'type=gha,mode=max,scope=${{ matrix.os }}'
|
cache-to: 'type=gha,mode=max,scope=${{ matrix.os }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user