Skip to content

Better support annotations for OCI V1 or revert back to Docker V2? #854

@favonia

Description

@favonia

Around the start of this year, the manifest format (probably due to the usage of docker buildx imagetools inspect) was changed from Docker V2 to OCI V1, at least for multi-arch images. While the two standards are very similar, one critical difference is where the standardized labels/annotations such as org.opencontainers.artifact.created usually go. For Docker V2, they are probably labels, but for OCI V1, they are annotations. This discrepancy has caused issues noticed by others:

I thus wonder if we could somehow better support annotations, given that we are using OCI V1? (I understand this may involve changes to the underlying tools.) Otherwise, is it possible to revert to Docker V2 format? Thanks.

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