Skip to content

feat(ci performance) speculative: add registry cache variable everywhere to gha#328

Draft
kmannislands wants to merge 2 commits intomainfrom
use-registry-cache
Draft

feat(ci performance) speculative: add registry cache variable everywhere to gha#328
kmannislands wants to merge 2 commits intomainfrom
use-registry-cache

Conversation

@kmannislands
Copy link

At o8t, we've discovered an undocumented but very useful feature of earthly: EARTHLY_REMOTE_CACHE

This was removed from docs in v0.7 but still appears to work as an alternative to volume-based caching for builds.

A registry-based cache is operationally simpler to use compared to managing cache volumes for the buildkitd instance.

This PR tries to use the feature in earthbuild's own CI with ghcr.io as the cache backend

@kmannislands kmannislands self-assigned this Feb 11, 2026
@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@kmannislands kmannislands changed the title feat(ci performance) speculative: add cache variable everywhere to gha feat(ci performance) speculative: add registry cache variable everywhere to gha Feb 11, 2026
@github-actions
Copy link

github-actions bot commented Feb 11, 2026

⚠️ Are we earthbuild yet?

Warning: "earthly" occurrences have increased by 27 (0.48%)

📈 Overall Progress

Branch Total Count
main 5658
This PR 5685
Difference +27 (0.48%)

📁 Changes by file type:

File Type Change
Go files (.go) ➖ No change
Documentation (.md) ❌ +3
Earthfiles ➖ No change

Keep up the great work migrating from Earthly to Earthbuild! 🚀

💡 Tips for finding more occurrences

Run locally to see detailed breakdown:

./.github/scripts/count-earthly.sh

Note that the goal is not to reach 0.
There is anticipated to be at least some occurences of earthly in the source code due to backwards compatibility with config files and language constructs.

@kmannislands
Copy link
Author

If this works we should probably bring back documentation for the feature and consider making some small improvements.

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.

1 participant