We use cookies to understand how people use Depot.
🚀 All of the performance of Depot, now for GitHub Actions Runners!
← Back to changelog

Our latest release of the depot CLI now has a faster way to build Docker Compose files that was previously not possible.

With a new x-depot bake extension, you can now specify multiple projects to build in a single depot bake command. Allowing each project to build in parallel on its own BuildKit builder with its own isolated cache!

Similar to x-bake the x-depot key is a Docker Compose extension that allows you to optionally specify the project ID for each service in your docker-compose.yml file.

services:
  srv1:
    build:
      dockerfile: ./Dockerfile.srv1
      x-depot:
        project-id: project-id-1
  srv2:
    build:
      dockerfile: ./Dockerfile.srv2
      x-depot:
        project-id: project-id-2

Just like before, if you run depot bake -f docker-compose.yaml all targets are built, but now each project-id will be built in parallel on its own dedicated builder and cache.