Files
piik/tests
T
TNTcraft 2e74d19dc3 fix(ci): inspect raw OCI indexes when publishing containers (#527)
`docker manifest inspect` reconstructs an image index and drops descriptor annotations. The v2.6.0 registry index correctly marks its BuildKit attestation, but the transformed CLI output loses that marker and the publisher counts `unknown/unknown` as another runnable platform.

Read the original index with `docker buildx imagetools inspect --raw`. Keep the explicit attestation filter, exact runnable-platform set and image/source/archive checks. Treat only an exact missing-reference error as absence; permission, network and missing-blob errors still stop publication.

The regression now distinguishes the old CLI's annotation loss from the raw index response. Container/package publisher and mirror-source checks pass (65 tests), including new/retained attestation indexes, unmarked unknown platforms and lookup failures.

The actual v2.6.0 index and both image configs were read anonymously. Their version, source SHA and Server archive digests match the published release. The original index bytes were used to finish the `latest` alias; the version tag, images and release attachments were not rebuilt or replaced. This is a publishing-tool correction and does not create another product version.

Primary references: [Docker CLI descriptor reconstruction](https://github.com/docker/cli/blob/master/cli/command/manifest/push.go#L132), [Buildx raw inspection](https://docs.docker.com/reference/cli/docker/buildx/imagetools/inspect/).
2e74d19dc3 · 2026-11-06 15:22:56 -04:00
History
..