summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorRomain Geissler <romain.geissler@amadeus.com>2022-07-30 12:50:57 +0000
committerRomain Geissler <romain.geissler@amadeus.com>2022-07-30 15:10:41 +0000
commit24a599fe1d8f7f9da23cf3056c4eda8bcc89e563 (patch)
treec91259ed7763a34093cbb19ff03cce5ed15d8479 /cmd/podman
parentfed326d8a6f8d4f7dc490099b29d51fc1754789f (diff)
downloadpodman-24a599fe1d8f7f9da23cf3056c4eda8bcc89e563.tar.gz
podman-24a599fe1d8f7f9da23cf3056c4eda8bcc89e563.tar.bz2
podman-24a599fe1d8f7f9da23cf3056c4eda8bcc89e563.zip
Add flag "--compression-format" to "podman manifest push" both in local/remote mode.
Also Fix usage of flag "--compression-format" for remote "podman image push". Fix usage of flags "--format", "--remove-signatures" in remote "podman manifest push". Closes #15109. Signed-off-by: Romain Geissler <romain.geissler@amadeus.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/manifest/push.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/manifest/push.go b/cmd/podman/manifest/push.go
index 9479e79a3..9023d5d27 100644
--- a/cmd/podman/manifest/push.go
+++ b/cmd/podman/manifest/push.go
@@ -76,6 +76,10 @@ func init() {
flags.BoolVarP(&manifestPushOpts.Quiet, "quiet", "q", false, "don't output progress information when pushing lists")
flags.SetNormalizeFunc(utils.AliasFlags)
+ compressionFormat := "compression-format"
+ flags.StringVar(&manifestPushOpts.CompressionFormat, compressionFormat, "", "compression format to use")
+ _ = pushCmd.RegisterFlagCompletionFunc(compressionFormat, common.AutocompleteCompressionFormat)
+
if registry.IsRemote() {
_ = flags.MarkHidden("cert-dir")
}