Files
podman/pkg
nitz b571943fe4 api: emit aux trailer with manifest digest on image push
The Docker daemon emits a final `{"aux":{"Tag","Digest","Size"}}` JSON
object on the push event stream so clients can recover the registry-side
manifest digest without an extra registry round-trip.

Several Docker-API clients (e.g. the Pulumi and Terraform docker
providers) parse `aux.Digest` to populate their pushed-image outputs.
Without the trailer they either silently fall back to inspecting the
local image (whose digest does not always match what was pushed - see
containers/podman#14779) or emit "Push completed without reporting a
digest" warnings.

`pushReport.ManifestDigest` is already populated with the correct
on-the-wire digest from `manifest.Digest(pushedManifestBytes)`; this
change just wraps it into the same JSON shape Docker emits and adds an
apiv2 test asserting the trailer is present with Tag, Digest, and Size.

Signed-off-by: nitz <nitz.raz@gmail.com>
2026-05-13 13:23:16 +03:00
..
2026-03-09 11:09:23 +01:00
2022-12-15 13:39:56 +01:00
2026-04-22 14:02:25 -05:00
2025-09-10 16:17:04 +02:00
2026-04-22 14:02:25 -05:00
2025-09-10 16:17:04 +02:00
2026-04-22 14:02:25 -05:00
2025-09-10 16:17:04 +02:00
2026-05-11 11:04:23 -07:00
2025-11-11 12:32:46 +01:00
2026-04-22 14:02:25 -05:00