rubyvideo.dev has a GitHub action to deploy with Kamal. On a warm cache it takes about 5min to build and deploy. On a cold cache it can take up to 25min. I know GitHub runners are slow, but are those numbers normal ? If you have some ideas of improvements github.com/adrienpoly/r...
Post
github.comOptimize deployment time for Kamal workflow · Issue #389 · adrienpoly/rubyvideoWe have a GitHub workflow that runs tests and, upon success, deploys the main branch using Kamal. The deployment process takes about 5 minutes with a warm cache but can extend to 25 minutes with a ...
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...
BTW, when it works you should start seeing a lot more entries here during deploys: github.com/adrienpoly/r...
github.comgithub.com
0 reposts1 like
No replies yet.