You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The trigger used in resource docker_image is not working as expected. The trigger used in the example given is as follows:
resource "docker_image" "zoo" { name = "zoo" build { context = "." } triggers = { dir_sha1 = sha1(join("", [for f in fileset(path.module, "src/*") : filesha1(f)])) } }
The same trigger works fine with the terraform resource docker_registry_image, but does not works with the resource docker_image. This can lead to issues as each time the docker image is getting built when using CI/CD pipeline.
The text was updated successfully, but these errors were encountered:
The trigger used in resource docker_image is not working as expected. The trigger used in the example given is as follows:
resource "docker_image" "zoo" { name = "zoo" build { context = "." } triggers = { dir_sha1 = sha1(join("", [for f in fileset(path.module, "src/*") : filesha1(f)])) } }
The same trigger works fine with the terraform resource docker_registry_image, but does not works with the resource docker_image. This can lead to issues as each time the docker image is getting built when using CI/CD pipeline.
The text was updated successfully, but these errors were encountered: