Yes, you can definitely use this in your Bitbucket Pipelines. Our CLI is a drop in replacement for `docker build`. So in your pipeline you would still login to your registry with `docker login` but then you can use `depot build` with all of the same options you were using before and the build can be routed to our remote builders.
So your pipeline would effectively look like this.
Here I have used `--token` for passing in a project token to authenticate the build with your project in Depot. This can also be passed as an environment variable, `DEPOT_TOKEN`.
Edit: Formatting. Also thank you for pointing out this is an integration we are missing in our docs. We will get that added!
So your pipeline would effectively look like this.
Here I have used `--token` for passing in a project token to authenticate the build with your project in Depot. This can also be passed as an environment variable, `DEPOT_TOKEN`.Edit: Formatting. Also thank you for pointing out this is an integration we are missing in our docs. We will get that added!