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 pushing a manifest without media type #1212
$ oras manifest push --oci-layout /sample/images:foobar:mediatypeError: media type is not recognized.
Suggested error message:
$ oras manifest push --oci-layout /sample/images:foobar:mediatype manifest.jsonError: media type is not specified via the flag "--media-type" nor in the manifest.json Usage: oras manifest push [flags] <name>[:<tag>[,<tag>][...]|@<digest>] <file>You need to specify a valid media type in the manifest JSON or via the "--media-type" flag
Activity
wangxiaoxuan273 commentedon Jan 11, 2024
I would like to work on this issue.