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

handle foreign mediatypes on push#1879

Merged
merged 1 commit into from
Dec 11, 2020

Conversation

tonistiigi
Copy link
Member

fixes #1877

Using the original mediatype for compression detection tried to push with a foreign mediatypes that is not always allowed by registries.

The current logic doesn't support other compressions than gzip. Future change should allow storing multiple blobs with different compressions/no-compression and convert from one compression to other if needed.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi added this to the v0.8.0 milestone Dec 6, 2020
@andyzhangx
Copy link

Hi @tonistiigi thanks for the fix.
do you know when this PR would be merged? We still want to use docker json, so oci-mediatypes=true does not apply to us.

Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

buildx failed on exporting to image
4 participants