File tree Expand file tree Collapse file tree
cmd/oras/root/manifest/index Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ Example - Create and push an index with annotations:
7676 oras manifest index create localhost:5000/hello:v1 linux-amd64 --annotation "key=val"
7777
7878Example - Create an index and push to an OCI image layout folder 'layout-dir' and tag with 'v1':
79- oras manifest index create layout-dir:v1 linux-amd64 sha256:99e4703fbf30916f549cd6bfa9cdbab614b5392fbe64fdee971359a77073cdf9
79+ oras manifest index create --oci-layout layout-dir:v1 linux-amd64 sha256:99e4703fbf30916f549cd6bfa9cdbab614b5392fbe64fdee971359a77073cdf9
8080
8181Example - Create an index and save it locally to index.json, auto push will be disabled:
8282 oras manifest index create --output index.json localhost:5000/hello linux-amd64 linux-arm64
Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ Example - Merge manifests from the index 'v2-windows' to the index 'v2':
6767Example - Update an index and tag the updated index as 'v2.1.0' and 'v2':
6868 oras manifest index update localhost:5000/hello@sha256:99e4703fbf30916f549cd6bfa9cdbab614b5392fbe64fdee971359a77073cdf9 --add linux-amd64 --tag "v2.1.0" --tag "v2"
6969
70+ Example - Update an index and push to an OCI image layout folder 'layout-dir' and tag with 'v2':
71+ oras manifest index update --oci-layout layout-dir@99e4703fbf30916f549cd6bfa9cdbab614b5392fbe64fdee971359a77073cdf9 --add linux-arm64 --tag "v2"
72+
7073Example - Update an index and save it locally to index.json, auto push will be disabled:
7174 oras manifest index update --output index.json localhost:5000/hello:v2 --add v2-linux-amd64
7275
You can’t perform that action at this time.
0 commit comments