Skip to content

Docker

How do I build and push in one step?

Quick answer

Use docker/build-push-action with push: true.

The detail that matters

Pushing directly from the builder avoids loading the image into the runner's Docker daemon, which is a large saving for big images.

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.