mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-09 18:05:40 +02:00
Fix bug in copy command by refactoring whitelist checks (#231)
* Fixed bug * WIP * fix unit tests
This commit is contained in:
@@ -230,6 +230,9 @@ func saveStageDependencies(index int, stages []instructions.Stage, buildArgs *do
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if len(dependencies) == 0 {
|
||||
return nil
|
||||
}
|
||||
// Then, create the directory they will exist in
|
||||
i := strconv.Itoa(index)
|
||||
dependencyDir := filepath.Join(constants.KanikoDir, i)
|
||||
|
||||
Reference in New Issue
Block a user