diff --git a/loader/include.go b/loader/include.go index 3e49b8d8..bd0e45ee 100644 --- a/loader/include.go +++ b/loader/include.go @@ -117,6 +117,9 @@ func ApplyInclude(ctx context.Context, workingDir string, environment types.Mapp } else { envFile := []string{} for _, f := range r.EnvFile { + if f == "/dev/null" { + continue + } if !filepath.IsAbs(f) { f = filepath.Join(workingDir, f) s, err := os.Stat(f)