diff --git a/docs/how_to_guides/manifest_annotations.mdx b/docs/how_to_guides/manifest_annotations.mdx index c7cbecde..b59aeb19 100644 --- a/docs/how_to_guides/manifest_annotations.mdx +++ b/docs/how_to_guides/manifest_annotations.mdx @@ -82,6 +82,12 @@ In order to add annotations using the `annotations.json`, you may run the follow oras push --annotation-file annotations.json localhost:5000/club:party cake.txt juice.txt ``` +The push command would upload the blob and put a manifest. Running the following command to output the manifest: + +``` +oras manifest fetch localhost:5000/club:party --pretty +``` + Expected Output: ```json @@ -118,4 +124,4 @@ Expected Output: "foo": "bar" } } -``` \ No newline at end of file +``` diff --git a/docs/how_to_guides/pushing_and_pulling.mdx b/docs/how_to_guides/pushing_and_pulling.mdx index 9f8418f5..64b52837 100644 --- a/docs/how_to_guides/pushing_and_pulling.mdx +++ b/docs/how_to_guides/pushing_and_pulling.mdx @@ -97,7 +97,13 @@ See [OCI Artifacts](https://github.com/opencontainers/image-spec/blob/main/manif ./docs/:application/vnd.acme.rocket.docs.layer.v1+tar ``` -- The push would generate the following manifest: +- The push will generate a manifest. Run the following command to output the manifest: + + ``` + oras manifest fetch localhost:5000/hello-artifact:v2 --pretty + ``` + + Results in: ```json {