File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -59,4 +59,8 @@ const (
59
59
60
60
// AnnotationBaseImageName is the annotation key for the image reference of the image's base image.
61
61
AnnotationBaseImageName = "org.opencontainers.image.base.name"
62
+
63
+ // AnnotationImageLayerPath is the annotation key for the layer path.
64
+ // SHOULD only work for media type `application/vnd.oci.image.layer.v1.raw`
65
+ AnnotationImageLayerPath = "org.opencontainers.image.layer.path"
62
66
)
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ const (
45
45
// MediaTypeImageLayerZstd is the media type used for zstd compressed
46
46
// layers referenced by the manifest.
47
47
MediaTypeImageLayerZstd = "application/vnd.oci.image.layer.v1.tar+zstd"
48
+
49
+ // MediaTypeImageLayerRaw is the media type used for layers referenced by the manifest.
50
+ // the file path is specified by annotation `org.opencontainers.image.layer.path`.
51
+ MediaTypeImageLayerRaw = "application/vnd.oci.image.layer.v1.raw"
48
52
)
49
53
50
54
// Non-distributable layer media-types.
You can’t perform that action at this time.
0 commit comments