aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/push.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-17 11:14:10 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-17 13:49:05 -0500
commitb62c0e703d70439c677205fb423e81491e8d1cf9 (patch)
treec8a2cea744a1a770800ea85cf1c646c2b573ec4b /cmd/podman/push.go
parenta99f4924d9d76f59e85bde09944d7c5e687ea8aa (diff)
downloadpodman-b62c0e703d70439c677205fb423e81491e8d1cf9.tar.gz
podman-b62c0e703d70439c677205fb423e81491e8d1cf9.tar.bz2
podman-b62c0e703d70439c677205fb423e81491e8d1cf9.zip
Add 3rd chunk of Cobra examples
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Adds the third chunk of Cobra examples to the cli help. As were putting together a release tomorrow, tried to hit the heavy commands with this PR. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'cmd/podman/push.go')
-rw-r--r--cmd/podman/push.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/push.go b/cmd/podman/push.go
index bbe8a4027..881d8cebc 100644
--- a/cmd/podman/push.go
+++ b/cmd/podman/push.go
@@ -34,7 +34,9 @@ var (
pushCommand.GlobalFlags = MainGlobalOpts
return pushCmd(&pushCommand)
},
- Example: "IMAGE DESTINATION",
+ Example: `podman push imageID docker://registry.example.com/repository:tag
+ podman push imageID oci-archive:/path/to/layout:image:tag
+ podman push --authfile temp-auths/myauths.json alpine docker://docker.io/myrepo/alpine`,
}
)