VasuDevrani / artifact-explorer-oras

6 stars 2 forks source link

artifact type is not displayed properly #43

Closed qweeah closed 1 year ago

qweeah commented 1 year ago

When using referrers API, the artifact type is always presented in the artifactType field. But when the manifest is fetched directly, the artifact type is might be presented via config.mediaType

In below screenshot, the current artifact is ghcr.io/qweeah/oras@sha256:2911971bced75f7b60bc9a25a36b79c3d118add9bb1a7c36c773c0eb0bf3f1c6, whose artifact type is presented inconfig.mediaType, but the referrers view is showing its mediaType as application/vnd.oci.image.manifest.v1+json

image

Need to change the

VasuDevrani commented 1 year ago

resolved in pr #42