summaryrefslogtreecommitdiff
path: root/cmd/podman/manifest/push.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-29 11:31:39 -0400
committerGitHub <noreply@github.com>2020-06-29 11:31:39 -0400
commit59e6192eb6027ebf520a4b5ea4137d0a85f23c02 (patch)
treed4641b6c3f7d6a1c7d4fa64df3994578ca0630be /cmd/podman/manifest/push.go
parent6ac009d5304127f6758be157c7302646e5a481e5 (diff)
parent6fb5f01c736d5cbf11bc7eaad09f6f0c7fd1d0d4 (diff)
downloadpodman-59e6192eb6027ebf520a4b5ea4137d0a85f23c02.tar.gz
podman-59e6192eb6027ebf520a4b5ea4137d0a85f23c02.tar.bz2
podman-59e6192eb6027ebf520a4b5ea4137d0a85f23c02.zip
Merge pull request #6716 from jwhonce/issues/6598
Fixes --remote flag issues
Diffstat (limited to 'cmd/podman/manifest/push.go')
-rw-r--r--cmd/podman/manifest/push.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/manifest/push.go b/cmd/podman/manifest/push.go
index a2e68aff1..e3073faea 100644
--- a/cmd/podman/manifest/push.go
+++ b/cmd/podman/manifest/push.go
@@ -49,6 +49,7 @@ func init() {
flags.StringVar(&manifestPushOpts.SignBy, "sign-by", "", "sign the image using a GPG key with the specified `FINGERPRINT`")
flags.BoolVar(&manifestPushOpts.TLSVerifyCLI, "tls-verify", true, "require HTTPS and verify certificates when accessing the registry")
flags.BoolVarP(&manifestPushOpts.Quiet, "quiet", "q", false, "don't output progress information when pushing lists")
+
if registry.IsRemote() {
_ = flags.MarkHidden("authfile")
_ = flags.MarkHidden("cert-dir")