From e56ca74793cc5807e564d46d5c9e84ac125059ac Mon Sep 17 00:00:00 2001 From: Adnan Gulegulzar <32373065+ADorigi@users.noreply.github.com> Date: Thu, 18 Jul 2024 16:30:35 +0000 Subject: [PATCH] docs: update oras documentation to attach a reference --- docs/user-guides/user-guide-datapath.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guides/user-guide-datapath.md b/docs/user-guides/user-guide-datapath.md index e09977a0..02628cd6 100644 --- a/docs/user-guides/user-guide-datapath.md +++ b/docs/user-guides/user-guide-datapath.md @@ -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