Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coverage for OCI labels and annotations #1

Open
tonistiigi opened this issue Jul 28, 2022 · 0 comments
Open

Add coverage for OCI labels and annotations #1

tonistiigi opened this issue Jul 28, 2022 · 0 comments

Comments

@tonistiigi
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant