add the registry mirror flag
This commit is contained in:
parent
611ba51c88
commit
3cd216f75b
|
|
@ -283,6 +283,7 @@ func TestBuildViaRegistryMirror(t *testing.T) {
|
|||
dockerRunFlags = append(dockerRunFlags, ExecutorImage,
|
||||
"-f", dockerfile,
|
||||
"-d", kanikoImage,
|
||||
"--registry-mirror", "gcr.io",
|
||||
"-c", fmt.Sprintf("git://%s", repo))
|
||||
|
||||
kanikoCmd := exec.Command("docker", dockerRunFlags...)
|
||||
|
|
|
|||
Loading…
Reference in New Issue