Commit 2773d83
committed
Fix ARM runner by downloading correct architecture binary
The ARM instances were failing because the parent gha_runner module
always provides the x64 runner download URL. ARM instances need the
arm64 binary instead.
Added architecture detection in the userdata script:
- Detect if running on ARM (aarch64/arm64)
- Replace 'x64' with 'arm64' in the download URL for ARM
- Download the correct architecture-specific runner binary
This fixes the issue where ARM instances would download an x64 binary
that couldn't execute, causing registration to fail and the failsafe
to terminate the instance.1 parent 69b6a6a commit 2773d83
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
216 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
217 | 225 | | |
218 | 226 | | |
219 | 227 | | |
| |||
0 commit comments