summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorCarlos Alexandro Becker <caarlos0@gmail.com>2021-07-24 22:40:35 -0300
committerCarlos Alexandro Becker <caarlos0@gmail.com>2021-07-26 08:56:30 -0300
commit5473490c6e779fd2bf9e2e5f04f265deaa9ba94e (patch)
tree5c9a708ca30356ab5dda3e509e48f02142c05fb5 /pkg
parentec5c7c1f6a1898dacddb6cc35802525c288b61ef (diff)
downloadpodman-5473490c6e779fd2bf9e2e5f04f265deaa9ba94e.tar.gz
podman-5473490c6e779fd2bf9e2e5f04f265deaa9ba94e.tar.bz2
podman-5473490c6e779fd2bf9e2e5f04f265deaa9ba94e.zip
fix: podman manifest push respect --tls-verify flag
[NO TESTS NEEDED] Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/domain/infra/abi/manifest.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/manifest.go b/pkg/domain/infra/abi/manifest.go
index 68e29f006..666bc997d 100644
--- a/pkg/domain/infra/abi/manifest.go
+++ b/pkg/domain/infra/abi/manifest.go
@@ -337,6 +337,7 @@ func (ir *ImageEngine) ManifestPush(ctx context.Context, name, destination strin
pushOptions.ManifestMIMEType = manifestType
pushOptions.RemoveSignatures = opts.RemoveSignatures
pushOptions.SignBy = opts.SignBy
+ pushOptions.InsecureSkipTLSVerify = opts.SkipTLSVerify
if opts.All {
pushOptions.ImageListSelection = cp.CopyAllImages