This commit is contained in:
Meeki1l 2025-06-03 19:58:30 -04:00 committed by GitHub
commit 77677cb901
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}