Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please check below, if the PR fulfills these requirements:
Associated Links:
Types of Changes:
Proposed Changes:
An image index a.k.a. multi-arch image isn't really docker compatible so this PR adjusts
hauler store save
to have a--platform
flag to give the user a chance to only export the platform of their choice. Any platform skipped as a result of this flag will be logged as a warning.If the
--platform
flag isn't provided, a warning gets logged during save if your store contains an image index... just as a heads up.Docker also isn't compatible with the
unknown/unknown
platform that some image index might contain. we're going to skip those or otherwisedocker load
will fail to import.Verification/Testing of Changes:
platform
flag and hauler just throwing a warning when it processes an image index.--platform
flag to skip anything other than what's specified.unknown/unknown
Additional Context: