mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-01 12:41:50 +02:00
Fixes https://github.com/GoogleContainerTools/kaniko/issues/1598. This commit puts `context.ExcludesFile` before `os.Lstat` to avoid the `COPY` command error due to missing but ignored files.