We use cookies to understand how people use Depot.
⚡ Introducing Depot Cache
← All Posts

Now available: Use Dagger with Depot

Written by
kyle
Kyle Galbraith
Published on
15 January 2025
We're excited to announce that starting today you can run all your Dagger workloads on Depot through our accelerated GitHub Actions runners.
Now available: Use Dagger with Depot banner

Continuing with our informal Drop Week, we're excited to announce our latest partner integration with Dagger.

Starting today, you can run all your Dagger workloads on Depot through our GitHub Actions Runners. We're bringing the power of Depot's accelerated builds, faster GitHub Actions runners, and instant cache sharing directly to your Dagger workloads, right out of the box. No additional configuration needed.

We're happy to be the first partner in the new Dagger Powered program and excited to accelerate another type of build with the performance of Depot.

How to use it

To get started, first connect Depot to your Dagger Cloud account for telemetry and visibility into your pipelines. You can configure that connection from the Dagger tab inside Depot.

Once you've configured your connection to Dagger Cloud, you can leverage Dagger with Depot GitHub Actions runners by appending an additional value to your runs-on label in your GitHub Actions workflows:

runs-on: depot-ubuntu-latest,dagger=0.15.2

Specifying the dagger version in your runs-on label signals to our orchestration system that you want the runner to be pre-configured to leverage a Dagger engine running next door.

Depot with Dagger architecture

We launch a Dagger engine with a persistent cache for your specified version and configure everything inside the GitHub Actions runner to use it. When your job is done, we kill the Dagger engine and persist the cache to be reused automatically in subsequent builds.

This gets you all the benefits of Dagger without having to think about how to configure it inside GitHub Actions, and all the power of Depot's accelerated caching for Dagger pipelines.

Pricing

Dagger invocations will incur the same $0.04/minute pricing as our Docker builds and will draw down your included Docker build usage.

Conclusion

We're excited to bring Depot's performance to another workload and are excited to be partnering with Dagger on a new perspective for continuous integration. If you have any questions or need help getting started, hop into our Discord Community and let us know.

If you're new to Dagger, you can also join the Dagger Discord Community to learn more!

Your builds have never been this quick.
Start building