Add containerd's normalized architectures to archMapper (#2168)
This commit is contained in:
parent
c215e0888a
commit
6a8c42ac53
|
@ -238,8 +238,10 @@ func RunnerArch(ctx context.Context) string {
|
||||||
|
|
||||||
archMapper := map[string]string{
|
archMapper := map[string]string{
|
||||||
"x86_64": "X64",
|
"x86_64": "X64",
|
||||||
|
"amd64": "X64",
|
||||||
"386": "X86",
|
"386": "X86",
|
||||||
"aarch64": "ARM64",
|
"aarch64": "ARM64",
|
||||||
|
"arm64": "ARM64",
|
||||||
}
|
}
|
||||||
if arch, ok := archMapper[info.Architecture]; ok {
|
if arch, ok := archMapper[info.Architecture]; ok {
|
||||||
return arch
|
return arch
|
||||||
|
|
Loading…
Reference in New Issue