Hello to everyone. I am using ecr Repository for my apps. It creates and deploys a new image each time, but instead of creating it each time, I only want to create a new image whenever there is a change. Is this possible?
If it is not possible to watch the files in Pulumi, there is an option to define a version number for the Repository instance and increase that number when I want to get a new build.
06/17/2022, 1:40 PM
The Pulumi Docker provider will build it every time, as you've seen. You could try adding
to the build args which will ensure BuildKit does the least possible amount of work.
Ideally, we'd have the Docker provider support Pulumi's FileArchive, which would have better semantics here - but we'd need to open an issue for this n