Skip to content

Commit 22333e0

Browse files
committed
FORMATTED code
1 parent dff3996 commit 22333e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker_builder/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ locals {
2020
git_branch = lower(replace(module.git_branch.stdout, "/", "-"))
2121
git_sha = module.git_sha.stdout
2222

23-
tag = "${var.repository_url}:${local.git_branch}"
23+
tag = "${var.repository_url}:${local.git_branch}"
2424
extra_tags = local.git_branch == "master" ? ["${var.repository_url}:${local.git_sha}", "${var.repository_url}:latest"] : ["${var.repository_url}:${local.git_sha}"]
2525
}
2626

@@ -45,10 +45,10 @@ resource "null_resource" "build_image" {
4545
${local.args} ${var.dockerfile};
4646
docker push ${local.tag};
4747
48-
%{ for tag in local.extra_tags }
48+
%{for tag in local.extra_tags}
4949
docker tag ${local.tag} ${tag}
5050
docker push ${tag}
51-
%{ endfor }
51+
%{endfor}
5252
EOT
5353
}
5454
}

0 commit comments

Comments
 (0)