ORAS Support for labels #686
-
So we have a process by which our build process is building a artifact using oras, and it works great for building the artifact, but our end delivery requires that we have a label on the resulting artifact / image. Is there a way to do this when building before the push? Similar to how we would identify the label in the Dockerfile. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey Kevin, thanks for initiating this discussion. I am not sure if you are trying to add annotations to the pushed manifest. If so, you can try below command:
It works similarly for attaching:
|
Beta Was this translation helpful? Give feedback.
-
Hmm, I found this looking for a way to put labels on the pushed artifacts. "labels": {
"org.opencontainers.image.created": "2023-02-03T14:37:58Z"
} |
Beta Was this translation helpful? Give feedback.
Hey Kevin, thanks for initiating this discussion. I am not sure if you are trying to add annotations to the pushed manifest. If so, you can try below command:
It works similarly for attaching: