This commit is contained in:
Victor Noel
2019-10-03 17:53:14 +02:00
parent 4ce8b8db81
commit db12a77e6c
9 changed files with 62 additions and 4 deletions
+1 -1
View File
@@ -427,7 +427,7 @@ func DoBuild(opts *config.KanikoOptions) (v1.Image, error) {
if err != nil {
return nil, err
}
if err := util.GetExcludedFiles(opts.SrcContext); err != nil {
if err := util.GetExcludedFiles(opts.DockerfilePath, opts.SrcContext); err != nil {
return nil, err
}
// Some stages may refer to other random images, not previous stages