summaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-29 12:05:20 -0500
committerGitHub <noreply@github.com>2021-01-29 12:05:20 -0500
commit4ee66c2c2ecc747ec3d567c0cff6fb89b2f8f112 (patch)
treeb8d8227eea8be154ac72bb7bb655efc07a742278 /pkg/domain
parentb59848a2b92b1554c55f6bd33a105c0fef158b8a (diff)
parentd7c356552e3c3d1710f22da2f710f9ad529c2ad9 (diff)
downloadpodman-4ee66c2c2ecc747ec3d567c0cff6fb89b2f8f112.tar.gz
podman-4ee66c2c2ecc747ec3d567c0cff6fb89b2f8f112.tar.bz2
podman-4ee66c2c2ecc747ec3d567c0cff6fb89b2f8f112.zip
Merge pull request #9149 from rhatdan/docs
Podman-remote push can support --format
Diffstat (limited to 'pkg/domain')
-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 0fe2387d7..f10c8c175 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 {