You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We expect CNABs to be stored in several different formats: (1) OCI with correct media type, (2) OCI with image media types, and (3) Docker manifest list with image media types. Given that, I think that guidance on annotations would be useful as it allows registry owners and tool builders to give users more information more easily.
That being said, Docker manifest lists don't have annotations in the spec. So if we'd like to be prescriptive, we will need to do so only on the bundle's manifest.
Please don't ask registry operators to special-case CNABs, just as we don't ask file-systems to special-case certain extensions.
Consolidating on a single mediaType that defines a CNAB, will make CNABs more consumable. If registries have to guess, or add logic for what mediaType is used in certain situations, it will only complicate its usage.
Annotations are great for search information, but not good for declaring a thing. Here are some thoughts that might help: OCI Artifact Authoring: Annotations & Config.json
@carolynvs's original comment:
The text was updated successfully, but these errors were encountered: