Skip to content

Commit

Permalink
remove ArtifactType from Config in OCI v1.1 definition of the artifact
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Lours <[email protected]>
  • Loading branch information
glours committed Nov 5, 2024
1 parent 361c089 commit a000978
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/ocipush/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a000978

Please sign in to comment.