Speeding up PostHog builds with Depot
Blog post from PostHog
PostHog significantly improved its build process by switching from Docker to Depot for container image builds within GitHub Actions, reducing build times from 16 minutes to just 3 minutes, offering a fivefold increase in speed. Depot, a managed container build service, enhances efficiency by utilizing both Intel and Arm builder machines with BuildKit, allowing for native multi-architecture image builds and leveraging a centralized persistent cache to reuse unchanged build steps instantly. Despite GitHub Actions' limitations, such as restricted access to repository secrets for forked repositories, Depot's ability to handle builds for push events using OIDC token authentication ensures secure and efficient operations. This transition not only optimized PostHog's workflow with minimal changes but also led to faster feedback and deployment cycles, thereby boosting productivity and reducing waiting times.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Secrets Management | 1 | 520 | 77 | 43 | +69% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.