diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-01-28 15:34:35 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-01-29 08:48:35 -0500 |
commit | d7c356552e3c3d1710f22da2f710f9ad529c2ad9 (patch) | |
tree | 2143e634af0203c47a10301da6be13518c3a7799 /test | |
parent | 0c6a889a7ec93964a12a10870920727e13e438c3 (diff) | |
download | podman-d7c356552e3c3d1710f22da2f710f9ad529c2ad9.tar.gz podman-d7c356552e3c3d1710f22da2f710f9ad529c2ad9.tar.bz2 podman-d7c356552e3c3d1710f22da2f710f9ad529c2ad9.zip |
Podman-remote push can support --format
Fix man page to document podman push --format fully.
Also found that push was not handling the tlsverify so fixed this.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/push_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/push_test.go b/test/e2e/push_test.go index 10120751f..00b5802a3 100644 --- a/test/e2e/push_test.go +++ b/test/e2e/push_test.go @@ -63,7 +63,7 @@ var _ = Describe("Podman push", func() { }) It("podman push to local registry", func() { - SkipIfRemote("Remote does not support --digestfile or --remove-sginatures") + SkipIfRemote("Remote does not support --digestfile or --remove-signatures") if podmanTest.Host.Arch == "ppc64le" { Skip("No registry image for ppc64le") } @@ -145,7 +145,7 @@ var _ = Describe("Podman push", func() { session = podmanTest.Podman([]string{"logs", "registry"}) session.WaitWithDefaultTimeout() - push := podmanTest.Podman([]string{"push", "--creds=podmantest:test", ALPINE, "localhost:5000/tlstest"}) + push := podmanTest.Podman([]string{"push", "--format=v2s2", "--creds=podmantest:test", ALPINE, "localhost:5000/tlstest"}) push.WaitWithDefaultTimeout() Expect(push).To(ExitWithError()) |