From 1ab38a45294f5995d35eae7da08b0a0c501b1b2d Mon Sep 17 00:00:00 2001 From: Guillaume Lours <705411+glours@users.noreply.github.com> Date: Tue, 5 Nov 2024 14:26:44 +0100 Subject: [PATCH] remove ArtifactType from Config in OCI v1.1 definition of the artifact Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com> --- internal/ocipush/push.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/ocipush/push.go b/internal/ocipush/push.go index d9a7f6ec043..0296f67da46 100644 --- a/internal/ocipush/push.go +++ b/internal/ocipush/push.go @@ -178,7 +178,6 @@ func generateManifest(layers []v1.Descriptor, ociCompat api.OCIVersion) ([]Pusha case api.OCIVersion1_1: config = v1.DescriptorEmptyJSON artifactType = ComposeProjectArtifactType - config.ArtifactType = artifactType // N.B. the descriptor has the data embedded in it toPush = append(toPush, Pushable{Descriptor: config, Data: make([]byte, len(config.Data))}) default: