Currently only added support for title. Note that labels have slightly different names.
|
if title, ok := annotations[AnnotationImageTitle]; ok { |
|
img.Title = title |
|
} |
Defined in https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
Currently only added support for title. Note that labels have slightly different names.
go-imageinspect/load.go
Lines 158 to 160 in 3ce5991
Defined in https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys