summaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authorFlavio Castelli <fcastelli@suse.com>2020-09-09 12:34:55 +0200
committerFlavio Castelli <fcastelli@suse.com>2020-09-09 12:34:55 +0200
commitf1df56a1016ba11aa97e7053e78c656bcb284523 (patch)
tree9f9cce3ca2e06de2225299bb3d4acb5f9a6072a1 /pkg/domain
parent1158025ef8d8e8d9d0d2157292d36b4d7392ea39 (diff)
downloadpodman-f1df56a1016ba11aa97e7053e78c656bcb284523.tar.gz
podman-f1df56a1016ba11aa97e7053e78c656bcb284523.tar.bz2
podman-f1df56a1016ba11aa97e7053e78c656bcb284523.zip
manifest push: handle cert-dir flag
Prior to this commit the value of the `--cert-dir` flag specified for `podman manifest push` was not handled by the internal code. That resulted in `podman manifest push` not reading the certificates stored inside of the directory specified by the user. Signed-off-by: Flavio Castelli <fcastelli@suse.com>
Diffstat (limited to 'pkg/domain')
-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 540eff50b..55f73bf65 100644
--- a/pkg/domain/infra/abi/manifest.go
+++ b/pkg/domain/infra/abi/manifest.go
@@ -208,6 +208,7 @@ func (ir *ImageEngine) ManifestPush(ctx context.Context, names []string, opts en
}
sys.AuthFilePath = opts.Authfile
sys.DockerInsecureSkipTLSVerify = opts.SkipTLSVerify
+ sys.DockerCertPath = opts.CertDir
if opts.Username != "" && opts.Password != "" {
sys.DockerAuthConfig = &types.DockerAuthConfig{