You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(gha): workaround cache-to and cache-from scope
This commit introduces a workaround for the GitHub Actions cache backend
when using the docker `cache-from` and `cache-to` flags with BuildKit.
The current version of `int128/docker-build-cache-config-action` incorrectly uses
`ref=` instead of `scope=` for the `gha` cache backend, which leads to shared
caches across branches and builds, resulting in frequent invalidations and
inefficient caching.
Until the upstream PR is merged and released:
int128/docker-build-cache-config-action#1213
...this commit replace `ref=` by `scope=` to ensure proper cache
isolation and reliable cache behavior in CI.
This workaround will be removed once the upstream fix is available in a stable release.
0 commit comments