Commit 18d77f5
fix: avoid QEMU arm64 crash by pinning builder stage to native arch
The pnpm install step crashes under QEMU arm64 emulation with
"Illegal instruction". Since the build output is just static
HTML/CSS/JS, pin the builder stage to $BUILDPLATFORM (amd64 on
GitHub Actions) and only cross-compile the nginx stage which
just copies files.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 87cc164 commit 18d77f5
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
0 commit comments