-
Notifications
You must be signed in to change notification settings - Fork 575
✨ Normalize media type for layers during image rebasing #2102
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
base: main
Are you sure you want to change the base?
Conversation
This test verifies that when rebasing an image, the layer types adapt to match the new base image's type. It ensures consistency in media types by checking that layers from the original image are updated to the new base's type when required.
Ensure consistent media types (DockerLayer/OCILayer) across layers by adding logic to identify and normalize layer media types during the rebasing process. This prevents potential mismatches and ensures compatibility when constructing rebased images.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
No idea what's going on with presubmit, but it looks like #908 problem. I'm using WSL to launch presubmit. ./hack/presubmit.sh logs
Edit: actually it fails because when gcloud is not installed, the production code still looks for it and fallbacks to anonymous mode instead of using the mock provided in the test. |
Fix for #2101
Ensure consistent media types (DockerLayer/OCILayer) across layers by adding logic to identify and normalize layer media types during the rebasing process. This prevents potential mismatches and ensures compatibility when constructing rebased images.