-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cannot use --force-compression with --format v2s2 #23942
Labels
Comments
Hi @Jamstah , could you please provide |
|
@mtrmac PTAL |
A friendly reminder that this issue had no activity for 30 days. |
This needs an update in common. Test PR here: #24673 before I make the common PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
Can't use those two options together. The compression type is unset when the format is v2s2, which means force-compression can't work because there is no compression type to force.
Steps to reproduce the issue
(setting a compression format automatically turns on force compression)
Describe the results you received
Describe the results you expected
Successful push forcing gzip compression
podman info output
On an apple silicon mac:
#23942 (comment)
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
I expect we need to add another condition here so that if the compression type is set to gzip, it doesn't unset it.
https://github.com/containers/common/blob/main/libimage/push.go#L90
The text was updated successfully, but these errors were encountered: