summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-01-20 17:13:54 -0500
committerMatthew Heon <matthew.heon@pm.me>2021-02-08 13:58:49 -0500
commit7819e49353b58fe87bdb74c33b2d999e3a7b563e (patch)
tree5cdd06447a25418b58c92efc5c7ea9a0a1edac61 /cmd/podman
parent0838a9414d8949cd4b30bb2574c0994eb2e0b8cf (diff)
downloadpodman-7819e49353b58fe87bdb74c33b2d999e3a7b563e.tar.gz
podman-7819e49353b58fe87bdb74c33b2d999e3a7b563e.tar.bz2
podman-7819e49353b58fe87bdb74c33b2d999e3a7b563e.zip
Switch podman image push handlers to use abi
Change API Handlers to use the same functions that the local podman uses. At the same time: Cleanup and pass proper bindings. Remove cli options from podman-remote push. Cleanup manifest push. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/images/push.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/images/push.go b/cmd/podman/images/push.go
index d53a9c066..56f618539 100644
--- a/cmd/podman/images/push.go
+++ b/cmd/podman/images/push.go
@@ -114,7 +114,11 @@ func pushFlags(cmd *cobra.Command) {
if registry.IsRemote() {
_ = flags.MarkHidden("cert-dir")
_ = flags.MarkHidden("compress")
+ _ = flags.MarkHidden("digestfile")
+ _ = flags.MarkHidden("format")
_ = flags.MarkHidden("quiet")
+ _ = flags.MarkHidden("remove-signatures")
+ _ = flags.MarkHidden("sign-by")
}
_ = flags.MarkHidden("signature-policy")
}