fixup! fixup! fixup! integration-test: using registry-mirror

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
Yoan Blanc 2019-12-23 09:34:32 +01:00
parent e05bdd58f2
commit 3ad9f7d94c
No known key found for this signature in database
GPG Key ID: 6058CF4574298812
1 changed files with 4 additions and 2 deletions

View File

@ -227,13 +227,14 @@ func TestGitBuildcontext(t *testing.T) {
func TestGitBuildContextWithBranch(t *testing.T) {
repo := "github.com/GoogleContainerTools/kaniko#refs/tags/v0.10.0"
dockerfile := dockerfileTestRun
// Build with docker
dockerImage := GetDockerImage(config.imageRepo, "Dockerfile_test_git")
dockerCmd := exec.Command("docker",
append([]string{"build",
"-t", dockerImage,
"-f", dockerfileTestRun,
"-f", dockerfile,
repo})...)
out, err := RunCommandWithoutTest(dockerCmd)
if err != nil {
@ -272,10 +273,11 @@ func TestBuildViaRegistryMirror(t *testing.T) {
// Build with docker
dockerImage := GetDockerImage(config.imageRepo, "Dockerfile_test_git")
dockerfile := dockerfileTestRun
dockerCmd := exec.Command("docker",
append([]string{"build",
"-t", dockerImage,
"-f", dockerfileTestRun,
"-f", dockerfile,
repo})...)
out, err := RunCommandWithoutTest(dockerCmd)
if err != nil {