A cache that stays
Each project's layers are kept between builds. The builder stops after 10 idle minutes. The cache stays.
- Per project, per team
- Least recently used layers go first
- Build secrets are never stored in it
Your layer cache stays between builds. A rebuild only builds what changed, and the image goes to a registry beside your runners.
$0.013 a minute of builder time·Registry: $0.05 per GB-month·Every plan
Each project's layers are kept between builds. The builder stops after 10 idle minutes. The cache stays.
Stock docker build reuses layers on Groundbox runners. On Linux runners. No cache flags.
One step before docker/build-push-action, which works unchanged. On Groundbox runners, GitHub-hosted runners and your own. Remove cache-from and cache-to: the builder keeps the cache.
Takes the flags of docker build. It prints the steps and, at the end, how many came from the cache.
A private OCI registry on the same machines as your runners. Jobs push and pull over the machine's own network. $0.05 per GB-month; pushes and pulls free.
No other team's build can read it or write to it. Build secrets go through BuildKit secrets.
Three Docker images in 37 s. They took 6 min 24 s before. From SuperSend's engineer's write-up: the same workflows, medians of 25 to 37 runs.
Sign up free and pick the repos. No card.
docker build and build-push-action stay as they are.
The second build reuses every layer that did not change.
| Do I need to change my Docker build steps? | No. On Groundbox's Linux runners, stock docker build reuses layers with no cache flags. On other runners, add one step before docker/build-push-action, which works unchanged, and remove cache-from and cache-to: the builder keeps the cache. |
| What does a remote build cost? | $0.013 a minute of builder time, by the second, from its start to its stop. The builder is 8 vCPU and 16 GB and stops after 10 idle minutes; the cache, up to 50 GB per project, is included. |
| Which platforms can it build? | linux/amd64 natively; linux/arm64 under emulation, slowly. |
| Can another team read my cache? | No. Each project's cache belongs to one team. Build secrets go through BuildKit secrets and are never stored in it. |
| Where do the images go? | To any registry, or to ours: a private OCI registry beside your runners at $0.05 per GB-month, with pushes and pulls free. Log in with your API key. |