mirror of https://github.com/containers/podman.git
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>
This commit is contained in:
parent
1158025ef8
commit
f1df56a101
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue