-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi arch build / GHA cache #1311
Comments
Would need workflow logs and BuildKit logs to figure out what's going on. Just a heads-up: we don't support or test outside of GitHub-hosted runner infrastructure, though we can assist on a best-effort basis. Thanks for your understanding. |
so first (due to timing) the AMD build kicks off, it's cached: then the ARM build kicked off, which is not cached. after both builds, we start a push in a single job ( However in the push job we noticed the latter build (ARM) is actually cached, and the AMD build isnt. As if they are both sharing the same cache key. |
will close due to unsupported features. being;
|
Does it work if you put a scope matching the runner instance like: cache-from: type=gha,scope=build-${{ matrix.runner }}
cache-to: type=gha,scope=build-${{ matrix.runner }},mode=max |
Contributing guidelines
I've found a bug, and:
Description
We're building multi arch Dockerfile (AMD/ARM)
Using a matrix of runners we noticed the default runner (
ubuntu-latest
) leverages GHA cache, but our custom runner doesnt.Are we missing something?
Expected behaviour
Fast build
Actual behaviour
Slow build
Repository URL
No response
Workflow run URL
No response
YAML workflow
Workflow logs
No response
BuildKit logs
Additional info
No response
The text was updated successfully, but these errors were encountered: