CI Perf Lint

prefer-zstd-compression-for-pushed-docker-images

Detects pushed BuildKit Docker image builds that do not request zstd layer compression.

This rule looks for image pushes through:

and reports when the output does not include:

Why it matters:

What to do:

Example:

- uses: depot/build-push-action@v1
  with:
    context: .
    tags: ghcr.io/acme/app:${{ github.sha }}
    push: true
    outputs: compression=zstd,oci-mediatypes=true