Fix wrongly detecting kicbase arch as incorrect (#19664)

pull/19681/head
Steven Powell 2024-09-20 10:35:25 -07:00 committed by GitHub
parent bebee72e90
commit 0292fb569f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ func isImageCorrectArch(img string) (bool, error) {
if err != nil {
return false, fmt.Errorf("failed to get config for %s: %v", img, err)
}
return cfg.Architecture == runtime.GOOS, nil
return cfg.Architecture == runtime.GOARCH, nil
}
// ImageToCache downloads img (if not present in cache) and writes it to the local cache directory