If you’re using Github Actions (or most CI, really), you’re much better off building with local Docker. CI doesn’t seem to love our wireguard setups and we haven’t figure out why yet.
You can see a great example of how to build with Docker in Github Actions, courtesy of @kentcdodds: kentcdodds.com/deployment.yml at main · kentcdodds/kentcdodds.com · GitHub
This is nice because it uses Github’s caching, too, it should perform much better than remote only for most apps.