Post

😍🎉 This feels like magic. Looks like I am down to 1 min on a warm cache. Will try now to update a gem

Got it, it was the two lines after setting up docker buildx. As far as I understood it, without them the GHA cache actually is not used for docker builds caching in Kamal. I originally found this trick here: jetthoughts.com/blog/automat...

ok might have talked a bit too soon, investigating right now and trying to apply the full recipe from JetThoughts

0 reposts0 likes

Is it about the gem bundling still taking too long? I actually believe this is a problem of cross-architecture docker builds - I see you target for arm64 but the standard GH Action runners are all amd64 I think (only the Large runners support ARM but those are paid).

Yes, this is exactly my conclusion at the end of the day. I am using Hetzner Ampere arm64. I should switch to amd64. I am going to spin up a tets server to try