summaryrefslogtreecommitdiff
path: root/cmd/podman/push.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-17 22:44:04 +0100
committerGitHub <noreply@github.com>2019-02-17 22:44:04 +0100
commit3f32eae56fed23e93c45d7da53da33702e954a26 (patch)
treecf3b89fca4fbbe365f2ebca71ed26980c5307523 /cmd/podman/push.go
parent6aaf8d39a9a26510e40fd54399e97fe177afadde (diff)
parentb62c0e703d70439c677205fb423e81491e8d1cf9 (diff)
downloadpodman-3f32eae56fed23e93c45d7da53da33702e954a26.tar.gz
podman-3f32eae56fed23e93c45d7da53da33702e954a26.tar.bz2
podman-3f32eae56fed23e93c45d7da53da33702e954a26.zip
Merge pull request #2357 from TomSweeneyRedHat/dev/tsweeney/cobrahelp3
Add 3rd chunk of Cobra examples
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`,
}
)