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

Don't force base image manifests to have a mediaType #40776

Open
wants to merge 1 commit into
base: release/8.0.4xx
Choose a base branch
from

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented May 8, 2024

The field is optional per the spec, and Docker seems to default to application/vnd.docker.distribution.manifest.v2+json (see the Docker CLI Manifest handling code) so we should try to handle this as well.

Firing this PR off to see what it does to our tests, but a complete PR would need a test to pin the 'able to parse and publish a manifest without a mediaType' behavior down.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels May 8, 2024
@baronfel baronfel added Area-Containers Related to dotnet SDK containers functionality and removed Area-Infrastructure labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Containers Related to dotnet SDK containers functionality untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant