Skip to content

Validate and Release Terraform Module #2

Validate and Release Terraform Module

Validate and Release Terraform Module #2

---
name: Validate and Release Terraform Module
on:
workflow_dispatch:
inputs:
release-tag:
required: true
type: string
release-message:
required: true
type: string
jobs:
Validate-Terraform:
if: github.event.ref == 'refs/heads/main'
name: Valdiate
uses: stuttgart-things/stuttgart-things/.github/workflows/validate-terraform.yaml@main
with:
environment-name: k8s
runs-on: arc-runner-scale-set-proxmox-vm
terraform-version: 1.6
tflint-version: "v0.50.0"
continue-error: false
Release-Terraform:
if: github.event.ref == 'refs/heads/main'
name: Release
needs: Validate-Terraform
uses: stuttgart-things/stuttgart-things/.github/workflows/release-terraform.yaml@main
with:
module-name: proxmox-vm
tag-name: "${{ github.event.inputs.release-tag }}"
release-message: "${{ github.event.inputs.release-message }}"
environment-name: k8s
runs-on: arc-runner-scale-set-proxmox-vm
continue-error: false