BuildKit-powered builds: multi-arch, registry cache, and push in one step.
docker buildx build is the BuildKit-backed builder with multi-platform output, advanced caching, and direct push. This page covers the flags that make CI builds fast.
What it does
buildx build drives BuildKit with extra capabilities over classic docker build: --platform for multi-arch, --cache-to/--cache-from for external cache (including type=gha), and --push to build and upload without a separate push.
"docker exporter does not currently support exporting manifest lists" - a multi-platform build cannot --load into the local docker store; use --push to a registry instead, or build a single platform. "Cache export is not supported for the docker driver" means you need a docker-container builder: run docker buildx create --use first. For type=gha cache, the GitHub Actions cache scope and token must be available (the docker/build-push-action wires this up).
docker buildx build is the BuildKit-backed builder with multi-platform output, advanced caching, and direct push. This page covers the flags that make CI builds fast.
What it does?
buildx build drives BuildKit with extra capabilities over classic docker build: --platform for multi-arch, --cache-to/--cache-from for external cache (including type=gha), and --push to build and upload without a separate push.
Common errors in CI?
"docker exporter does not currently support exporting manifest lists" - a multi-platform build cannot --load into the local docker store; use --push to a registry instead, or build a single platform. "Cache export is not supported for the docker driver" means you need a docker-container builder: run docker buildx create --use first.
Latchkey managed runners at $0.0025/min at 2 vCPU, against $0.006 GitHub-hosted, and transient failures repaired on the runner.Start free →30-day trial · No credit card
Cookie Preferences
Choose which categories of cookies you want to allow. Essential cookies are always active as they are required for the site to function.
Essential
Required for the site to function.
Functional
Remembers your preferences like selected workspace and dashboard settings.
Analytics
Helps us understand how the site is used (Google Analytics).