Files
buildkit/client
CrazyMax 8c2d0611b6 source: preserve image cache across attestation changes
Rebuilding an unchanged image can change its index digest through provenance
attestations, invalidating downstream cache despite an unchanged platform
manifest. Use the selected platform manifest as an alternate source cache
key while retaining the root manifest key for existing caches.

Capture the image manifest during the existing platform-filtered traversal,
including nested indexes and embedded manifests. Preserve the first image
manifest so malformed config or layer descriptors cannot replace its cache
identity.

Keep checksum validation and provenance pins tied to the root manifest.
Both cache keys use verified manifest digests, without restoring the
unverified DiffID fallback removed for GHSA-f2v9-hprr-32q3.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-11-04 09:05:16 +01:00
..
2026-10-22 11:11:56 +02:00
2025-01-13 16:42:48 -08:00
2025-09-09 14:13:04 +02:00
2025-05-02 12:44:01 -07:00
2025-02-11 11:21:45 +01:00