mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-17 23:35:47 +02:00
fix: integration: fail on error when build with docker (#3131)
This commit is contained in:
@@ -306,7 +306,10 @@ func (d *DockerFileBuilder) BuildImageWithContext(t *testing.T, config *integrat
|
||||
}
|
||||
|
||||
timer := timing.Start(dockerfile + "_docker")
|
||||
d.BuildDockerImage(t, imageRepo, dockerfilesPath, dockerfile, contextDir)
|
||||
if err := d.BuildDockerImage(t, imageRepo, dockerfilesPath, dockerfile, contextDir); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
timing.DefaultRun.Stop(timer)
|
||||
|
||||
contextFlag := "-c"
|
||||
|
||||
Reference in New Issue
Block a user