From a5f742fcc397f081812bb278e9ed57817ce27b30 Mon Sep 17 00:00:00 2001 From: Adnan Gulegulzar <32373065+ADorigi@users.noreply.github.com> Date: Tue, 23 Jul 2024 10:11:04 -0400 Subject: [PATCH] docs: update oras documentation to attach a reference (#178) --- 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