summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-06-13 04:15:20 -0400
committerGitHub <noreply@github.com>2022-06-13 04:15:20 -0400
commit1c46b31a6806d2aae54238b233ebfd8c126061b8 (patch)
treeaff135c1c44b2a7505914864be8ab2da541bf22b /pkg/domain/infra/tunnel/images.go
parentc044d455a1f42447fa800f0a5b4e83a7e271dbeb (diff)
parent48cf1d258326b25308225cb4a22703d6e3416b18 (diff)
downloadpodman-1c46b31a6806d2aae54238b233ebfd8c126061b8.tar.gz
podman-1c46b31a6806d2aae54238b233ebfd8c126061b8.tar.bz2
podman-1c46b31a6806d2aae54238b233ebfd8c126061b8.zip
Merge pull request #14560 from rhatdan/remote
podman-remote push --remove-signatures support
Diffstat (limited to 'pkg/domain/infra/tunnel/images.go')
-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 18e10e8dd..97838d596 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -244,7 +244,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).WithFormat(opts.Format)
+ options.WithAll(opts.All).WithCompress(opts.Compress).WithUsername(opts.Username).WithPassword(opts.Password).WithAuthfile(opts.Authfile).WithFormat(opts.Format).WithRemoveSignatures(opts.RemoveSignatures)
if s := opts.SkipTLSVerify; s != types.OptionalBoolUndefined {
if s == types.OptionalBoolTrue {