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

Use correct media type for zstd layers #2459

Conversation

LFrobeen
Copy link
Contributor

@LFrobeen LFrobeen commented Apr 3, 2023

Description

This PR is an addendum to #2313 which ensures that kaniko uses correct media types when zstd compression is enabled. In my previous PR I forgot to take into account a change that I made in google/go-containerregistry#1487 which disabled automatic media type selection for zstd compressed layers (see google/go-containerregistry@e29dcb9).

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • Adds integration tests if needed.

See the contribution guide for more details.

Reviewer Notes

  • The code flow looks good.
  • Unit tests and or integration tests added.

In my previous commits I forgot to override the media type for layers that are using zstd compression.
@LFrobeen LFrobeen marked this pull request as ready for review April 3, 2023 14:32
@LFrobeen
Copy link
Contributor Author

LFrobeen commented Apr 3, 2023

Thanks for approving so quickly @imjasonh 👍 Imo this can be merged whenever you're ready. Thanks again

@imjasonh imjasonh merged commit 24846d2 into GoogleContainerTools:main Apr 3, 2023
kylecarbs pushed a commit to coder/kaniko that referenced this pull request Jul 12, 2023
In my previous commits I forgot to override the media type for layers that are using zstd compression.
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.

2 participants