summaryrefslogtreecommitdiff
path: root/pkg/domain/infra
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-01-28 15:34:35 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2021-01-29 08:48:35 -0500
commitd7c356552e3c3d1710f22da2f710f9ad529c2ad9 (patch)
tree2143e634af0203c47a10301da6be13518c3a7799 /pkg/domain/infra
parent0c6a889a7ec93964a12a10870920727e13e438c3 (diff)
downloadpodman-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 'pkg/domain/infra')
-rw-r--r--pkg/domain/infra/tunnel/images.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go
index 878e7b999..6ba738cb9 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -236,7 +236,7 @@ func (ir *ImageEngine) Import(ctx context.Context, opts entities.ImageImportOpti
func (ir *ImageEngine) Push(ctx context.Context, source string, destination string, opts entities.ImagePushOptions) error {
options := new(images.PushOptions)
- options.WithAll(opts.All).WithCompress(opts.Compress).WithUsername(opts.Username).WithPassword(opts.Password).WithAuthfile(opts.Authfile)
+ options.WithAll(opts.All).WithCompress(opts.Compress).WithUsername(opts.Username).WithPassword(opts.Password).WithAuthfile(opts.Authfile).WithFormat(opts.Format)
if s := opts.SkipTLSVerify; s != types.OptionalBoolUndefined {
if s == types.OptionalBoolTrue {