Skip to content

Use separate build cache per platform #49

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

kdambekalns
Copy link
Member

According to the LLM

Unfortunately, type=gha caching in multi-platform builds doesn't fully support loading the cache for each platform due to cross-platform architecture differences. But there is a workaround! You can split the cache per platform by running separate builds with distinct scopes for each platform.

Well, let's see.

@kdambekalns kdambekalns self-assigned this Feb 12, 2025
@kdambekalns kdambekalns changed the title Next try on a build cache Use separate build cache per platform Feb 12, 2025
@kdambekalns kdambekalns marked this pull request as draft February 12, 2025 15:57
@baschny
Copy link

baschny commented Apr 23, 2025

how "funny" - i have had the exact same problem and tried several workarounds already to no avail - cron-eu/docker-phpapp-php#56

This is just to comfort you in the sense of "you are not alone".. let me know if you find out something!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants