Add containerd's normalized architectures to archMapper (#2168)

This commit is contained in:
Matthew 2024-01-23 18:44:48 -08:00 committed by GitHub
parent c215e0888a
commit 6a8c42ac53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -238,8 +238,10 @@ func RunnerArch(ctx context.Context) string {
archMapper := map[string]string{
"x86_64": "X64",
"amd64": "X64",
"386": "X86",
"aarch64": "ARM64",
"arm64": "ARM64",
}
if arch, ok := archMapper[info.Architecture]; ok {
return arch