diff --git a/pkg/executor/executor.go b/pkg/executor/executor.go index 6e01510ea7..4eb3a04c6a 100644 --- a/pkg/executor/executor.go +++ b/pkg/executor/executor.go @@ -95,7 +95,7 @@ func DoBuild(k KanikoBuildArgs) (name.Reference, v1.Image, error) { return nil, nil, err } kc := authn.NewMultiKeychain(authn.DefaultKeychain, k8sc) - sourceImage, err = remote.Image(ref, remote.WithAuthFromKeychain(kc), remote.WithTransport(http.DefaultTransport)) + sourceImage, err = remote.Image(ref, remote.WithAuthFromKeychain(kc)) if err != nil { return nil, nil, err }