mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-09 06:45:53 +02:00
fix flake in copy symlink
This commit is contained in:
@@ -575,7 +575,9 @@ func DoBuild(opts *config.KanikoOptions) (v1.Image, error) {
|
||||
}
|
||||
for _, p := range filesToSave {
|
||||
logrus.Infof("Saving file %s for later use", p)
|
||||
util.CopyFileOrSymlink(p, dstDir)
|
||||
if err := util.CopyFileOrSymlink(p, dstDir); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
// Delete the filesystem
|
||||
|
||||
Reference in New Issue
Block a user