From 4d0e541915fe1c02be784e141fdeb0c36de15129 Mon Sep 17 00:00:00 2001 From: Thibault Jamet Date: Fri, 22 Sep 2023 23:18:10 +0200 Subject: [PATCH] Add multiple tags for terraform --- terraform/Dockerfile | 3 ++- terraform/tags.yaml | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 terraform/tags.yaml diff --git a/terraform/Dockerfile b/terraform/Dockerfile index 1d01e80..ff6ba7d 100644 --- a/terraform/Dockerfile +++ b/terraform/Dockerfile @@ -1,4 +1,5 @@ -FROM hashicorp/terraform:latest +ARG VERSION=latest +FROM hashicorp/terraform:${VERSION} ## Adding in case we need Terraform to call them. RUN apk --update upgrade && \ diff --git a/terraform/tags.yaml b/terraform/tags.yaml new file mode 100644 index 0000000..bd0562d --- /dev/null +++ b/terraform/tags.yaml @@ -0,0 +1,7 @@ +provider: + docker: + name: hashicorp/terraform +versions: + - 1.5 + - 1.5.7 + - 1.4.7