fixup! Merge remote-tracking branch 'origin/master' into registry-mirror
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
parent
140879fadd
commit
e26bd672f1
|
|
@ -108,7 +108,6 @@ func remoteImage(image string, opts *config.KanikoOptions) (v1.Image, error) {
|
|||
|
||||
registryName := ref.Context().RegistryStr()
|
||||
var newReg name.Registry
|
||||
var err error
|
||||
|
||||
if opts.RegistryMirror != "" && registryName == name.DefaultRegistry {
|
||||
registryName = opts.RegistryMirror
|
||||
|
|
|
|||
Loading…
Reference in New Issue