Skip to content

Commit a000978

Browse files
committed
remove ArtifactType from Config in OCI v1.1 definition of the artifact
Signed-off-by: Guillaume Lours <[email protected]>
1 parent 361c089 commit a000978

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/ocipush/push.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ func generateManifest(layers []v1.Descriptor, ociCompat api.OCIVersion) ([]Pusha
178178
case api.OCIVersion1_1:
179179
config = v1.DescriptorEmptyJSON
180180
artifactType = ComposeProjectArtifactType
181-
config.ArtifactType = artifactType
182181
// N.B. the descriptor has the data embedded in it
183182
toPush = append(toPush, Pushable{Descriptor: config, Data: make([]byte, len(config.Data))})
184183
default:

0 commit comments

Comments
 (0)