-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conditionally rebuild image #607
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Community Note
Terraform (and docker Provider) Version
Affected Resource(s)
docker_image
Terraform Configuration Files
Hi all,
mine isn't really a bug, it's more a behaviour change from version
2.25.0
to>= 3.0s
.I used to build docker images like in the posted code using
docker_registry_image
, by injecting differentversion
,rebuild_trigger
andcommit_sha
for each part of my application I could practically selectively decide from which image rebuild by changing those values.Now that I upgraded the provider this trick sees to not be working anymore.
Is there a way to restore the previous behaviour?
Thank you.
Update
I tried now to use
docker_registry_image
but it still builds all the images:I checked the passed
commit_sha
andrebuild_trigger
. Even changing them for just one part of the system, all the images are rebuilt.The text was updated successfully, but these errors were encountered: