mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-17 16:36:09 +02:00
Merge pull request #413 from priyawadhwa/auth
Use remoteImage function when getting digest for cache
This commit is contained in:
@@ -142,7 +142,7 @@ func cachedImage(opts *config.KanikoOptions, image string) (v1.Image, error) {
|
||||
if d, ok := ref.(name.Digest); ok {
|
||||
cacheKey = d.DigestStr()
|
||||
} else {
|
||||
img, err := remote.Image(ref)
|
||||
img, err := remoteImage(image, opts)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user