summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-18 04:33:49 +0100
committerGitHub <noreply@github.com>2020-11-18 04:33:49 +0100
commita6f7afd41729edbe0d8cbf21bab5b475c6a13f9e (patch)
treeeae673786f4e85877ece173257ced9069a8efff6 /cmd
parent4bbf2b64cafb6923512d95e338d6b313d289696b (diff)
parentbd104d2948893727add27de8e07fdf1874afdee3 (diff)
downloadpodman-a6f7afd41729edbe0d8cbf21bab5b475c6a13f9e.tar.gz
podman-a6f7afd41729edbe0d8cbf21bab5b475c6a13f9e.tar.bz2
podman-a6f7afd41729edbe0d8cbf21bab5b475c6a13f9e.zip
Merge pull request #8382 from dbaker-rh/helppage
[CI:DOCS] Fix example for manifest push
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/manifest/manifest.go2
-rw-r--r--cmd/podman/manifest/push.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/manifest/manifest.go b/cmd/podman/manifest/manifest.go
index c3bcdc8c7..990ad0e95 100644
--- a/cmd/podman/manifest/manifest.go
+++ b/cmd/podman/manifest/manifest.go
@@ -18,7 +18,7 @@ var (
podman manifest create localhost/list
podman manifest inspect localhost/list
podman manifest annotate --annotation left=right mylist:v1.11 image:v1.11-amd64
- podman manifest push mylist:v1.11 quay.io/myimagelist
+ podman manifest push mylist:v1.11 docker://quay.io/myuser/image:v1.11
podman manifest remove mylist:v1.11 sha256:15352d97781ffdf357bf3459c037be3efac4133dc9070c2dce7eca7c05c3e736`,
}
)
diff --git a/cmd/podman/manifest/push.go b/cmd/podman/manifest/push.go
index 593d62710..a3b469491 100644
--- a/cmd/podman/manifest/push.go
+++ b/cmd/podman/manifest/push.go
@@ -28,7 +28,7 @@ var (
Short: "Push a manifest list or image index to a registry",
Long: "Pushes manifest lists and image indexes to registries.",
RunE: push,
- Example: `podman manifest push mylist:v1.11 quay.io/myimagelist`,
+ Example: `podman manifest push mylist:v1.11 docker://quay.io/myuser/image:v1.11`,
Args: cobra.ExactArgs(2),
ValidArgsFunction: common.AutocompleteImages,
}