TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GitHub Linux ARM64 hosted runners now available for free in public repositories

181 pointsby Aissen4 months ago

14 comments

geerlingguy4 months ago
This is excellent news, as it should unblock having precompiled packages available for a number of applications for arm64—for me, most notably, OpenZFS: <a href="https:&#x2F;&#x2F;github.com&#x2F;openzfs&#x2F;zfs&#x2F;issues&#x2F;14511">https:&#x2F;&#x2F;github.com&#x2F;openzfs&#x2F;zfs&#x2F;issues&#x2F;14511</a>
评论 #42729239 未加载
ecnahc5154 months ago
While this is great, for people claiming they can now built multi-arch images without emulation, how are you planning on doing so? As far as I know, if you want to build multi-arch images on native runners for each platform, you basically need to:<p>* Configure a workflow with 1 job for each arch, each building a standalone single-arch image, tagging it with a unique tag, and pushing each to your registry<p>* Configure another job which runs at the completion of the previous jobs that creates a combined manifest containing each image using `docker manifest create`.<p>Basically, doing the steps listed in <a href="https:&#x2F;&#x2F;www.docker.com&#x2F;blog&#x2F;multi-arch-build-and-images-the-simple-way&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.docker.com&#x2F;blog&#x2F;multi-arch-build-and-images-the-...</a> under &quot;The hard way with docker manifest &quot;.<p>Does anyone have a better approach, or some reusable workflows&#x2F;GHA that make this process simpler? I know about Depot.dev which basically abstracts the runners away and handles all of this for you, but I don&#x27;t see a good way to do this yourself without GitHub offering some better abstraction for building docker images.<p>Edit: I just noticed <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42729529">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42729529</a> which has a great example of exactly these steps (and I just realized you can just push the digests, instead of tags too, which is nice).
评论 #42734320 未加载
agartner4 months ago
Here&#x27;s a quick example I put together on how to use these runners to accelerate docker builds: <a href="https:&#x2F;&#x2F;github.com&#x2F;gartnera&#x2F;actions-arm64-native-example">https:&#x2F;&#x2F;github.com&#x2F;gartnera&#x2F;actions-arm64-native-example</a>
评论 #42729720 未加载
kylegalbraith4 months ago
This is exciting to see as arm64 is really a growing space, as we&#x27;ve seen since first launching our Docker image build acceleration [0]. Free for public repos is definitely a strong pull if you can live with some of the quirks.<p>Even with this, building multi-platform Docker images with fast persistent caching in GitHub Actions will still be slow in the worst case and tedious in the best case.<p>We&#x27;ve also expanded into GitHub Actions runners, bringing our fast caching and faster compute into the actual runner.<p>We&#x27;ve done some cool things like making caching and disk access faster using ramdisks, Ceph, and blob storage [1]. We&#x27;re offering Intel, ARM, and macOS runners at half the cost of what GitHub offers to private repos. We&#x27;re also focused on accelerating even more builds outside of the runner. [2]<p>[0] <a href="https:&#x2F;&#x2F;depot.dev&#x2F;products&#x2F;container-builds">https:&#x2F;&#x2F;depot.dev&#x2F;products&#x2F;container-builds</a><p>[1] <a href="https:&#x2F;&#x2F;depot.dev&#x2F;blog&#x2F;introducing-github-actions-ultra-runners">https:&#x2F;&#x2F;depot.dev&#x2F;blog&#x2F;introducing-github-actions-ultra-runn...</a><p>[2] <a href="https:&#x2F;&#x2F;depot.dev&#x2F;blog&#x2F;introducing-depot-cache">https:&#x2F;&#x2F;depot.dev&#x2F;blog&#x2F;introducing-depot-cache</a>
评论 #42731182 未加载
mystified50164 months ago
Our CI runners live on a box in the corner of the office and their only operating cost is my time.<p>Paying someone for CI compute seems insane. The load is so variable that you never know if your monthly bill will be zero or several hundred&#x2F;thousand dollars. I especially don&#x27;t want my employees to consider that each and every push costs the company a nonzero amount of money. CI should be totally free and unrestricted. If a new employee has a <i>really</i> bad day and fires off a hundred CI runs (as we all have), I don&#x27;t want to explain to accounting why there&#x27;s an enormous spike in the bill.<p>It costs us a couple of my salaried hours a month to maintain our on-site infra. Far, <i>far</i> less than our present AWS bill. Most months it needs no attention. It just sits there and does its job. Hell, it&#x27;s even solar powered.
评论 #42731113 未加载
评论 #42737286 未加载
0xcoffee4 months ago
Is the price cheaper than x64 instances?<p>For &#x27;large&#x27; instances, ARM64 is cheaper: <a href="https:&#x2F;&#x2F;docs.github.com&#x2F;en&#x2F;billing&#x2F;managing-billing-for-your-products&#x2F;managing-billing-for-github-actions&#x2F;about-billing-for-github-actions#per-minute-rates-for-arm64-powered-larger-runners" rel="nofollow">https:&#x2F;&#x2F;docs.github.com&#x2F;en&#x2F;billing&#x2F;managing-billing-for-your...</a><p>So what about regular instances?
bhollis4 months ago
We&#x27;re using Go, so cross-compilation has never been a big problem (for producing artifacts). But this&#x27;ll be great for testing on ARM. I&#x27;m interested to see the performance of these instances too - our experience has been that Amazon&#x27;s Graviton processors have fantastic bang-for-buck vs. Intel&#x2F;AMD.
评论 #42731879 未加载
评论 #42730291 未加载
CaliforniaKarl4 months ago
This is awesome!!!<p>I switched from an Intel Mac to an Apple Silicon Mac a few months ago, and have been trying to do as much stuff as possible on ARM.<p>One thing this should do, is make people think more about switching their cloud-based workflows to ARM CPUs, which are generally less expensive.
amacneil4 months ago
For private repos, Github runners are slow and overpriced. We switched to buildjet.com runners and have no regrets.
评论 #42730136 未加载
verdverm4 months ago
This is awesome, I have been dealing with weird errors in GHA for years when having to emulate for multi arch builds
mlhpdx4 months ago
Nice. I had gone looking for this a week or two ago and was surprised it wasn’t available to me.
suryao4 months ago
For cheaper (for private repos) and faster arm64 runners, check out what we&#x27;re making at WarpBuild.<p>We also support spinning up self-hosted runners on your AWS&#x2F;gcp&#x2F;azure in just a couple of clicks.
评论 #42734400 未加载
评论 #42730251 未加载
tonymet4 months ago
this makes distributing Raspberry Pi binaries a bit easier .I was running the Github actions runner on my raspi (which works petty well)
joshstrange4 months ago
GitHub Actions is overpriced and slow. WarpBuild [0] is so much nicer. Our iOS build times dropped in half and cost less than the base macOS runner on GHA. It couldn’t have been easier, just set it up, changed the runner image name, and then I promptly forgot about it because it works the exact same way as before. GH secrets work, runs show up in the same place. It’s one of the only times I’ve improved performance and saved money all without changing anything on my end.<p>I did have to move my repos into an organization because you can only use WarpBuild with organizations, not personal accounts, but I probably should have been doing that anyway.<p>[0] <a href="https:&#x2F;&#x2F;www.warpbuild.com">https:&#x2F;&#x2F;www.warpbuild.com</a>