https://pulumi.com logo
Title
a

average-printer-31589

08/31/2022, 8:05 AM
Hello all 👋 , currently pulumi takes up a lot of time to build using docker, is there any CI/CD solution to optimize build times? We are not using github actions or such. Pulumi rebuilds all docker images regardless of the changes we’ve made ,so is there a short/long fix for this? All options are appreciated. I found one issue discussing something on the same lines but can’t see a solution proposed : https://github.com/pulumi/pulumi-cloud/issues/183
s

stocky-restaurant-98004

08/31/2022, 3:39 PM
Are you using the
docker.Image
resource? In any case, you can push the build and push the image to a registry in a separate process, like CI pipeline, then kick off Pulumi to deploy either automatically, on a schedule, or ad-hoc.
And either use
:latest
in your Pulumi code or pass a tag for a particular version.