Skip to content

Push every build cache and use the GitHub Actions cache on CI - #23

Merged
joelwurtz merged 1 commit into
mainfrom
feat/multiple-build-caches
Oct 6, 2026
Merged

joelwurtz merged 1 commit into
mainfrom
feat/multiple-build-caches

Conversation

@joelwurtz

@joelwurtz joelwurtz commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Same issue as jolicode/docker-starter#430, ported from jolicode/docker-starter#446: the registry cache sometimes misses layers on CI without any warning.

  • docker:push exports to every cache_from entry of a service, and pushes its image to each registry among them.
  • On GitHub Actions, withRegistryCache() adds a type=gha cache scoped by the cache name: every build reads and writes it, docker:push too.
  • Docs explain how to expose the runtime variables buildx needs.

@joelwurtz
joelwurtz merged commit 995098f into main Oct 6, 2026
5 checks passed
@joelwurtz
joelwurtz deleted the feat/multiple-build-caches branch October 6, 2026 11:47
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