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

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