Skip to content

Add coverage for OCI labels and annotations #1

@tonistiigi

Description

@tonistiigi

Currently only added support for title. Note that labels have slightly different names.

go-imageinspect/load.go

Lines 158 to 160 in 3ce5991

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions