mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-02 11:16:31 +02:00
add the registry mirror flag
This commit is contained in:
@@ -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...)
|
||||
|
||||
Reference in New Issue
Block a user