Skip to content
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

Manifest missing mediaType #12

Closed
spurin opened this issue Jun 7, 2023 · 4 comments
Closed

Manifest missing mediaType #12

spurin opened this issue Jun 7, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@spurin
Copy link

spurin commented Jun 7, 2023

The manifest has no top level mediaType set and I believe that because of this, it doesn't render as expected in the Docker Hub web view. It should show the OS/Arch options.

The following is an example of ubuntu: https://explore.ggcr.dev/?image=ubuntu%3Alatest

VS the current curlimages/curl: https://explore.ggcr.dev/?image=curlimages/curl@sha256:9d679ae7718688259258a3ea3862963023f32eae630052fde63aae5e9919a90d&mt=application%2Fvnd.oci.image.index.v1%2Bjson&size=1043

Example in Docker Hub, note that OS/Arch is empty:

image

Updating the buildah manifest push command with

--format v2s1
--format v2s2
--format oci

May possibly resolve this.

@spurin
Copy link
Author

spurin commented Jun 7, 2023

Referenced on Docker Hub - docker/hub-feedback#2329

@xquery
Copy link
Member

xquery commented Jun 8, 2023

well --format oci does not work ... will try the others

@xquery xquery added the enhancement New feature or request label Jun 8, 2023
@xquery
Copy link
Member

xquery commented Jun 8, 2023

checking https://explore.ggcr.dev/?image=curlimages%2Fcurl%3A8.1.2 ... seems to have correct media type

@xquery xquery closed this as completed Jun 8, 2023
@spurin
Copy link
Author

spurin commented Jun 8, 2023

Thanks @xquery

Looking good!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants