Compare commits

...

2 Commits

Author SHA1 Message Date
Santiago c94ec4fbec
Merge 0ba5010e97 into 1d2bff5959 2025-06-02 22:10:29 +00:00
Santiago Ruano Rincón 0ba5010e97
Make kaniko abort when pkg/filesystem/resolve.go ResolvePaths() founds a symlink target that doesn't exist 2023-08-29 14:28:17 -03:00
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func ResolvePaths(paths []string, wl []util.IgnoreListEntry) (pathsToAdd []strin
if e != nil {
if !os.IsNotExist(e) {
logrus.Errorf("Couldn't eval %s with link %s", f, link)
return
os.Exit(1)
}
logrus.Tracef("Symlink path %s, target does not exist", f)