Skip to content

Commit

Permalink
docs: update oras documentation to attach a reference (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
ADorigi authored Jul 23, 2024
1 parent 230220f commit a5f742f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user-guides/user-guide-datapath.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ from a zot registry.

$ echo '{"artifact": "localhost:5000/hello-artifact:v2", "signature": "pat hancock"}' > signature.json

$ oras push localhost:5000/hello-artifact \
$ oras attach \
--artifact-type 'signature/example' \
--subject localhost:5000/hello-artifact:v2 \
localhost:5000/hello-artifact:v2 \
./signature.json:application/json

$ oras discover -o tree localhost:5000/hello-artifact:v2
Expand Down

0 comments on commit a5f742f

Please sign in to comment.