Merge e868a5a765 into 236ba5690e
This commit is contained in:
commit
77677cb901
|
|
@ -271,7 +271,7 @@ func DoPush(image v1.Image, opts *config.KanikoOptions) error {
|
|||
destRef.Repository.Registry = newReg
|
||||
}
|
||||
|
||||
pushAuth, err := creds.GetKeychain().Resolve(destRef.Context().Registry)
|
||||
pushAuth, err := creds.GetKeychain().Resolve(destRef.Context())
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "resolving pushAuth")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue