Skip to content

Commit

Permalink
feature: Add manifest fetch documentation for digest (#1465)
Browse files Browse the repository at this point in the history
Signed-off-by: Terry Howe <[email protected]>
  • Loading branch information
Terry Howe authored Aug 1, 2024
1 parent f2affdd commit 061344b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/oras/root/manifest/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ Example - Fetch raw manifest from a registry:
Example - Fetch the descriptor of a manifest from a registry:
oras manifest fetch --descriptor localhost:5000/hello:v1
Example - Fetch the manifest digest from a registry:
oras manifest fetch --format go-template --template '{{ .digest }}' localhost:5000/hello:v1
Example - Fetch manifest from a registry with specified media type:
oras manifest fetch --media-type 'application/vnd.oci.image.manifest.v1+json' localhost:5000/hello:v1
Expand Down

0 comments on commit 061344b

Please sign in to comment.