From f1df56a1016ba11aa97e7053e78c656bcb284523 Mon Sep 17 00:00:00 2001 From: Flavio Castelli Date: Wed, 9 Sep 2020 12:34:55 +0200 Subject: 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 --- pkg/domain/infra/abi/manifest.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg') 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{ -- cgit v1.2.3-54-g00ecf