mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-06 22:18:03 +02:00
Merge pull request #957 from antechrestos/fix/scopes_asked_to_remote_registry
Upgrade go-containerregistry third-party library
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user