Merge pull request #957 from antechrestos/fix/scopes_asked_to_remote_registry

Upgrade go-containerregistry third-party library
This commit is contained in:
Cole Wippern
2020-01-28 16:00:21 -08:00
committed by GitHub
1160 changed files with 107253 additions and 38471 deletions
+1 -1
View File
@@ -689,7 +689,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