You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
improve error message when invalid options given when pushing #1217
$ oras push /oras --format jsonError: Head "https:///v2/oras/manifests/sha256:ffa50b27cd0096150c0338779c5090db41ba50d01179d851d68afa50b393c3a3": http: no Host in request URL
Suggested error message:
$ oras push /oras --format jsonError: "/oras" is an invalid referenceUsage: oras push [flags] <name>[:<tag>[,<tag>][...]] <file>[:<type>] [...]Please specify a valid reference in the form of <registry>/<repo>[:tag|@digest]
If the to-be-pushed file doesn't exist
Current behavior and output:
$ oras push localhost:5000/oras:v1 hello.txtError: failed to stat /home/user/hello.txt: stat /home/user/hello.txt: no such file or directory
Suggested error message:
$ oras push localhost:5000/oras:v1 hello.txtError: /home/user/hello.txt: no such file or directory
Activity