mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-17 23:15:33 +02:00
Upgrade dependency to go-containerregistry third-party library
By doing so it will fix issues met when mixing source/remote registry Close #808
This commit is contained in:
@@ -684,7 +684,7 @@ func getHasher(snapshotMode string) (func(string) (string, error), error) {
|
||||
}
|
||||
|
||||
func resolveOnBuild(stage *config.KanikoStage, config *v1.Config) error {
|
||||
if config.OnBuild == nil {
|
||||
if config.OnBuild == nil || len(config.OnBuild) == 0 {
|
||||
return nil
|
||||
}
|
||||
// Otherwise, parse into commands
|
||||
|
||||
Reference in New Issue
Block a user