Hey hey all - I'm hoping to use the new docker-bui...
# pulumi-deployments
t
Hey hey all - I'm hoping to use the new docker-build provider to build against self-managed remote builders. How can we specify those builders within deployments to get our CICD off the ground?
e
Do you mean self-managed deployment agents?
t
Negative - using pulumi deployment agents against self-hosted buildkit and the
docker-build
provider
h
you can give
builder: {name: "foo"}}
to your resource. the provider doesn’t currently expose a way to configure builders, so if you don’t already have one setup you would need something like
docker buildx create --driver remote --name foo …
in your pre-run commands.
t
Ah I see - I hadn't looked into prerun commands. There needs to be one configured locally to actually use the builder, but if the runtime env has docker commands available, then that's a decent solution. I suppose we could use files in our environment to mount the tls certs?
h
probably! you can also store them as secret environment variables if you’re using deployments
t
Amazing - thanks, Bryce!