diff options
author | Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> | 2024-05-19 09:37:53 +0530 |
---|---|---|
committer | Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> | 2024-05-19 09:37:53 +0530 |
commit | 9ab3199e1339157992c088dbb7a6e2daa08a31cb (patch) | |
tree | d85d548c8a18981c36ad5a801b1b4cb6e9dd422b /.github | |
parent | f6ddc5cf4965e333f7344465ca9062fab4df3721 (diff) |
fix: build workflow - missing scope on `cache-from`
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90dcfd1e..024a37bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -159,7 +159,7 @@ jobs: platforms: ${{ matrix.os != 'ubuntu' && env.DOCKER_PLATFORMS || env.DOCKER_PLATFORMS_UBUNTU }} target: ${{ matrix.tag.target }} 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. # 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 }}' |