Compare commits
2 Commits
183f2e1bd3
...
82e656afce
| Author | SHA1 | Date |
|---|---|---|
|
|
82e656afce | |
|
|
75137dcdc3 |
|
|
@ -122,6 +122,8 @@ var RootCmd = &cobra.Command{
|
|||
dir := config.KanikoDir
|
||||
if opts.KanikoDir != constants.DefaultKanikoPath {
|
||||
dir = opts.KanikoDir
|
||||
//forcing the KANIKO_DIR to be the same as the flag in current process (all executeCommand())
|
||||
os.Setenv("KANIKO_DIR", opts.KanikoDir)
|
||||
}
|
||||
|
||||
if err := checkKanikoDir(dir); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue