We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0feec90 commit 9bb7a2cCopy full SHA for 9bb7a2c
engines/terraform/modules/image/main.tf
@@ -1,5 +1,5 @@
1
locals {
2
- context_path = "${path.root}/../../../${var.build_context != "." ? var.build_context : ""}"
+ context_path = abspath("${path.root}/../../../${var.build_context != "." ? var.build_context : ""}")
3
original_command = join(" ", compact([data.external.inspect_base_image.result.entrypoint, data.external.inspect_base_image.result.cmd]))
4
image_id = var.image_id == null ? docker_image.base_service.image_id : var.image_id
5
build_trigger = var.image_id == null ? sha1(join("", [for f in fileset(local.context_path, "**") : filesha1("${local.context_path}/${f}")])) : var.image_id
0 commit comments