diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-01 09:50:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 09:50:52 +0200 |
commit | f5f7909932dc314612539dabf8682b17c6e20970 (patch) | |
tree | c91259ed7763a34093cbb19ff03cce5ed15d8479 /cmd | |
parent | fed326d8a6f8d4f7dc490099b29d51fc1754789f (diff) | |
parent | 24a599fe1d8f7f9da23cf3056c4eda8bcc89e563 (diff) | |
download | podman-f5f7909932dc314612539dabf8682b17c6e20970.tar.gz podman-f5f7909932dc314612539dabf8682b17c6e20970.tar.bz2 podman-f5f7909932dc314612539dabf8682b17c6e20970.zip |
Merge pull request #15125 from Romain-Geissler-1A/fix-manifest-push
[Closes 15109] Add flag "--compression-format" to "podman manifest push" (and other fixes)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/manifest/push.go | 4 |
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") } |