Files
compose/pkg
Guillaume Lours fd794ea842 fix(build): use platform image-manifest digest, not attested index
With the containerd image store and BuildKit provenance attestations
(the default), a built image is stored as an attested index whose
top-level digest also covers the attestation manifest. That digest
churns on every build even when the runnable content is unchanged,
so compose recreated containers on every `up --build`.

Compare the digest of the "image" kind manifest instead, selected for
the target platform and restricted to locally available manifests, so
it is deterministic and reflects only config + layers. Both the build
and up sides of the staleness check go through the same selection, and
registry-only images keep the Bake-reported digest.

Fixes #13636

Signed-off-by: Guillaume Lours <[email protected]>
2026-07-20 12:15:42 +02:00
..