Guides
How to publish to multiple registries
The same image is built once per registry.
4 min read
The same image is built once per registry.
Why it happens
Each push is treated as a separate build rather than a separate tag on one build.
How to fix it
- Build once, then tag and push to each registry from the same build output
- Use buildx with multiple --tag flags across registries in one invocation
- Authenticate to each registry with OIDC where supported
Your next build could be twice as fast, at half the price
Start free. Migrating away is the same one line, and we publish that diff too.
Related
How to set up Docker layer cachingDocker builds take ten minutes because every layer rebuilds.How to optimise a Dockerfile for CISmall code changes trigger long rebuilds.How to use multi-stage Docker buildsImages are large and contain build tooling that should not ship.How to run concurrent Docker builds safelyParallel matrix legs contend and builds slow down or fail.