Re:Run your GitHub Actions locally
by OptionOfT on Tuesday May 20, 2025 @12:21AM
(#44037758)
No, as their MDM solution only works on Macs.
[ Parent
| on HN ]
In fairness, the opposite way usually ends up being much cheaper: make prod run arm64
I would guess that just `alias docker="docker --platform=linux/amd64"` type thing would go a long way toward evicting those platform mismatches[1]. I would also guess there's a way to switch off the binfmt "helper" in colima such that trying to run arm64 in the VM would immediately puke rather than silently helping you
1: or, of course, don't push production containers from your workstation, but the years have taught me that I'm talking to myself
All of this is an effort to validate that building works on all environments.
> alias docker="docker --platform=linux/amd64"
I think that on its own breaks a Rust project which uses openssl with the vendored feature.