mirror of
https://github.com/docker/compose.git
synced 2025-07-23 05:34:36 +02:00
remove ArtifactType from Config in OCI v1.1 definition of the artifact
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
parent
361c0893a9
commit
a000978980
@ -178,7 +178,6 @@ func generateManifest(layers []v1.Descriptor, ociCompat api.OCIVersion) ([]Pusha
|
|||||||
case api.OCIVersion1_1:
|
case api.OCIVersion1_1:
|
||||||
config = v1.DescriptorEmptyJSON
|
config = v1.DescriptorEmptyJSON
|
||||||
artifactType = ComposeProjectArtifactType
|
artifactType = ComposeProjectArtifactType
|
||||||
config.ArtifactType = artifactType
|
|
||||||
// N.B. the descriptor has the data embedded in it
|
// N.B. the descriptor has the data embedded in it
|
||||||
toPush = append(toPush, Pushable{Descriptor: config, Data: make([]byte, len(config.Data))})
|
toPush = append(toPush, Pushable{Descriptor: config, Data: make([]byte, len(config.Data))})
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user