Skip to content

handle foreign mediatypes on push#1879

Merged
tiborvass merged 1 commit into
moby:masterfrom
tonistiigi:foreign-mediatype
Dec 11, 2020
Merged

handle foreign mediatypes on push#1879
tiborvass merged 1 commit into
moby:masterfrom
tonistiigi:foreign-mediatype

Conversation

@tonistiigi

Copy link
Copy Markdown
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 [email protected]

@tonistiigi tonistiigi added this to the v0.8.0 milestone Dec 6, 2020
@andyzhangx

Copy link
Copy Markdown

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.

@cpuguy83 cpuguy83 left a comment

Copy link
Copy Markdown
Member

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