Skip to content

Commit

Permalink
Add containerd's normalized architectures to archMapper (#2168)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCash authored Jan 24, 2024
1 parent c215e08 commit 6a8c42a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/container/docker_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a8c42a

Please sign in to comment.