microscaling / microbadger

What's inside your Docker containers?
Other
159 stars 17 forks source link

Add support for OCI annotations/labels #45

Open jjlin opened 5 years ago

jjlin commented 5 years ago

https://microbadger.com/labels currently still refers to the Label Schema labels, but those have been deprecated in favor of OCI annotations.

It would be nice to have support for both the legacy Label Schema keys and their OCI replacements, e.g. org.label-schema.vcs-ref and org.opencontainers.image.revision should be recognized as equivalent.

There's a useful table here:

https://github.com/opencontainers/image-spec/blob/master/annotations.md#back-compatibility-with-label-schema

dgoo2308 commented 5 years ago

and while we're at it, parse org.opencontainers.image.description with markdown.

images on dockerhub gioxa/xxx are already using OCI annotations e.g.

docwhat commented 5 years ago

Any updates or news? There are a lot more projects showing empty badges, like