From 52db772788e2857d3694a89c1cac8375fcf0a76a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Thu, 13 Oct 2022 20:47:34 +0200 Subject: [PATCH] Make the pseudo-config used in sigstore attachments a bit more valid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... to placate quay.io's validation. Signed-off-by: Miloslav Trmač --- docker/docker_image_dest.go | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/docker_image_dest.go b/docker/docker_image_dest.go index 80a8efbb02..7b44782148 100644 --- a/docker/docker_image_dest.go +++ b/docker/docker_image_dest.go @@ -648,6 +648,7 @@ func (d *dockerImageDestination) putSignaturesToSigstoreAttachments(ctx context. Digest: "", // We will fill this in later. Size: 0, }, nil) + ociConfig.RootFS.Type = "layers" } else { logrus.Debugf("Fetching sigstore attachment config %s", ociManifest.Config.Digest.String()) // We don’t benefit from a real BlobInfoCache here because we never try to reuse/mount configs.