diff --git a/cmd/hauler/cli/store/save.go b/cmd/hauler/cli/store/save.go index 873d487b..2060cc68 100644 --- a/cmd/hauler/cli/store/save.go +++ b/cmd/hauler/cli/store/save.go @@ -96,7 +96,7 @@ func writeExportsManifest(ctx context.Context, dir string) error { if desc.Annotations != nil { // we only care about images that cosign has added to the layout index if kind, hasKind := desc.Annotations[consts.KindAnnotationName]; hasKind { - if refName, hasRefName := desc.Annotations[imagev1.AnnotationRefName]; hasRefName { + if refName, hasRefName := desc.Annotations["io.containerd.image.name"]; hasRefName { // branch on image (aka image manifest) or image index switch kind { case consts.KindAnnotationImage: