Files
docker-images/images/terraform-ci
Damien Arnodo bbbd3364a6
Some checks failed
Build and Push Docker Images / detect-changes (push) Failing after 7s
Build and Push Docker Images / build (push) Has been skipped
refactor: use alpine base for lighter image
2025-12-07 17:52:27 +00:00
..

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

# 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

docker build -t terraform-ci:latest .