mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-19 02:33:44 +02:00
feat(warmer): Warmer now supports all registry-related flags (#1499)
which means we can now: - set up one or more mirrors - set up registries certificates - skip TLS verify - use plain HTTP using the same set of flags that are defined for the executor
This commit is contained in:
Vendored
+1
-1
@@ -66,7 +66,7 @@ func (rc *RegistryCache) RetrieveLayer(ck string) (v1.Image, error) {
|
||||
cacheRef.Repository.Registry = newReg
|
||||
}
|
||||
|
||||
tr := util.MakeTransport(rc.Opts, registryName)
|
||||
tr := util.MakeTransport(rc.Opts.RegistryOptions, registryName)
|
||||
|
||||
img, err := remote.Image(cacheRef, remote.WithTransport(tr), remote.WithAuthFromKeychain(creds.GetKeychain()))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user