diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-29 16:20:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 16:20:44 +0200 |
commit | a76a99352a2145e1dd6b70db56d9cfa550633fbd (patch) | |
tree | 1ada16a3568689fc975b26ab716ec9299645a9a0 /pkg/domain | |
parent | 6246165f168ab1d619bf4650590e32e035893143 (diff) | |
parent | 5c108f75ebdf4bf9214504f8b170ffabff1a38d4 (diff) | |
download | podman-a76a99352a2145e1dd6b70db56d9cfa550633fbd.tar.gz podman-a76a99352a2145e1dd6b70db56d9cfa550633fbd.tar.bz2 podman-a76a99352a2145e1dd6b70db56d9cfa550633fbd.zip |
Merge pull request #6037 from vrothberg/enable-push-tests
Enable push tests
Diffstat (limited to 'pkg/domain')
-rw-r--r-- | pkg/domain/entities/images.go | 4 | ||||
-rw-r--r-- | pkg/domain/infra/abi/images.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 707937a44..442b2cf3c 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -183,8 +183,8 @@ type ImagePushOptions struct { // SignBy adds a signature at the destination using the specified key. // Ignored for remote calls. SignBy string - // TLSVerify to enable/disable HTTPS and certificate verification. - TLSVerify types.OptionalBool + // SkipTLSVerify to skip HTTPS and certificate verification. + SkipTLSVerify types.OptionalBool } // ImageSearchOptions are the arguments for searching images. diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go index 7c63276e5..d1245a45c 100644 --- a/pkg/domain/infra/abi/images.go +++ b/pkg/domain/infra/abi/images.go @@ -221,7 +221,7 @@ func (ir *ImageEngine) Push(ctx context.Context, source string, destination stri dockerRegistryOptions := image.DockerRegistryOptions{ DockerRegistryCreds: registryCreds, DockerCertPath: options.CertDir, - DockerInsecureSkipTLSVerify: options.TLSVerify, + DockerInsecureSkipTLSVerify: options.SkipTLSVerify, } signOptions := image.SigningOptions{ |