fix dockerfile
This commit is contained in:
parent
9b48be6440
commit
85c40c45b3
|
|
@ -430,7 +430,7 @@ func buildKanikoImage(
|
||||||
|
|
||||||
kanikoDockerfilePath := path.Join(buildContextPath, dockerfilesPath, dockerfile)
|
kanikoDockerfilePath := path.Join(buildContextPath, dockerfilesPath, dockerfile)
|
||||||
if dockerfilesPath == "" {
|
if dockerfilesPath == "" {
|
||||||
kanikoDockerfilePath = path.Join(buildContextPath, dockerfile)
|
kanikoDockerfilePath = path.Join(buildContextPath, "Dockerfile")
|
||||||
}
|
}
|
||||||
|
|
||||||
dockerRunFlags = append(dockerRunFlags, ExecutorImage,
|
dockerRunFlags = append(dockerRunFlags, ExecutorImage,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue