Skip to content

ORAS Support for labels #686

Answered by qweeah
KevinDMack asked this question in Q&A
Nov 10, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

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:

Example - Push repository with manifest annotations
  oras push --annotation "key1=val1"  --annotation "key2=val2" localhost:5000/hello:latest hi.txt

It works similarly for attaching:

Example - Attach file 'hi.txt' and add manifest annotations
  oras attach --artifact-type doc/example --annotation "key=val" localhost:5000/hello:latest hi.txt

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by sajayantony
Comment options

You must be logged in to vote
1 reply
@rpardini
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants