-
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
Add "--preserve-digest" option to podman push #15544
Comments
@flouthoc PTAL |
AFAICS @mtrmac was not in favor of adding the option (see #15538 (reply in thread)). As outlined in the conversation, the I'd also feel more comfortable keeping that in |
Yes, I’m not at all enthusiastic about Overall optimizing this already-pushed case in single seconds to a bit fewer single seconds just seems very low-priority to me. The directions to investigate from #15538 (reply in thread) would help this case, and other cases:
|
A friendly reminder that this issue had no activity for 30 days. |
Since we are not going to work on this issue, closing. |
FWIW:
This is no longer the case. Also, unfinished containers/image#1968 might reduce the number of necessary round-trips, by up to about a third for images with several but not too many layers. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
When running
podman build
andpodman push
multiple times, layers are modified and pushed to the registry even when the image hasn't changed or in other terms was fully cached. To avoid changing digests containers/storage introduce the--preserve-digest
flag. See containers/image#1413 I'd like to add this flag to thepodman push
commandDescribe the results you expected:
See #15538
https://github.com/containers/podman/blob/main/pkg/domain/infra/abi/images.go#L285
The text was updated successfully, but these errors were encountered: