mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-14 18:07:43 +00:00
Fix pulling from secure registry
when pulling from a secure registry that is documented in registries.conf, we should be able to pull without tls-verify=false Signed-off-by: baude <bbaude@redhat.com> Closes: #718 Approved by: rhatdan
This commit is contained in:
parent
c34e454177
commit
b44d4fb1ec
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ func (i *Image) pullImage(ctx context.Context, writer io.Writer, authfile, signa
|
|||
|
||||
for _, imageInfo := range pullStructs {
|
||||
copyOptions := getCopyOptions(writer, signaturePolicyPath, dockerOptions, nil, signingOptions, authfile, "", false)
|
||||
if imageInfo.srcRef.Transport().Name() == DockerTransport {
|
||||
if strings.HasPrefix(DockerTransport, imageInfo.srcRef.Transport().Name()) {
|
||||
imgRef, err := reference.Parse(imageInfo.srcRef.DockerReference().String())
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue