-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check media type of manifest before fallback to OCI image for oras push
and oras atatch
#672
Comments
We should also rename the function to The reason is both isArtifactUnsupported and isArtifactSupported is not accurate, we don't know if artifact is supported if the other HTTP error happens. |
@nima @sajayantony After talking to @shizhMSFT I found that we should not change Still thanks for raising this, it helps me I found that we still need to enhance the check for oci artifact media type. I had a PR #673 for it. Can you help review, thanks. |
oras push
and oras atatch
…ct (oras-project#673) Resolves oras-project#672 Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Originally posted by @nima in #665 (comment)
The text was updated successfully, but these errors were encountered: