From 21672041fb0b5ac6e0796172a159e9cf763ed100 Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Sun, 7 Dec 2025 17:17:35 +0000 Subject: [PATCH] docs: add README for terraform-ci image --- images/terraform-ci/README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 images/terraform-ci/README.md diff --git a/images/terraform-ci/README.md b/images/terraform-ci/README.md new file mode 100644 index 0000000..3a17439 --- /dev/null +++ b/images/terraform-ci/README.md @@ -0,0 +1,33 @@ +# Terraform CI Image + +Image Docker pour les pipelines CI/CD Terraform. + +## Contenu + +- **Terraform** : 1.5.7 +- **tflint** : 0.54.0 +- **Outils** : git, curl, bash, jq + +## Utilisation + +```yaml +# Dans un workflow Gitea Actions +jobs: + lint: + runs-on: docker + container: + image: gitea.arnodo.fr/damien/terraform-ci:latest + steps: + - uses: actions/checkout@v3 + - run: | + cd terraform/prod + terraform init -backend=false + terraform validate + tflint +``` + +## Build local + +```bash +docker build -t terraform-ci:latest . +```