Adding labels to the manifest #316
-
In the Dockerfile i have added this line:
In the manifest it looks the following:
I would like to achieve the same using ORAS, but as far as i have seen i can only add an "annotations" field, but not a "labels" field. Is this correct? Or did i miss something? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@paresy - I don't believe labels exist in the manifest - https://github.com/opencontainers/image-spec/blob/main/manifest.md |
Beta Was this translation helpful? Give feedback.
@paresy - I don't believe labels exist in the manifest - https://github.com/opencontainers/image-spec/blob/main/manifest.md
They actually get injected into the config if I am not mistaken. For the manifest we expect the usage of annotations as per the specification.