Skip to content

CICD-116 · Show BuildKit progress in CI ​

Encyclopedia · Docker image building · All snippets

Previous · CICD-115 · Next · CICD-117

1. Where it fits ​

  • Placement Bash run step following checkout, or equivalent lab terminal.
  • Prerequisites Docker Engine or BuildKit on a trusted lab runner.
  • Platforms local-linux, github-actions, gitea-actions.

2. Copy the snippet ​

bash
docker buildx build --progress=plain --load -t web:ci .

3. How it works ​

Buildx executes BuildKit for the declared targets. The output option determines whether the result appears in a local image store, archive, or registry.

4. Verify the result ​

The plain log shows steps and cache reuse. Review logs for secrets.

Validation syntax-validated (Bash parse). Status definitions.