Validate and Release Terraform Module #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | ||
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: ghr-flux2-cluster-bootstrap-labda-test | ||
terraform-version: 1.8.4 | ||
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 | ||
Check failure on line 29 in .github/workflows/release-terraform.yaml GitHub Actions / .github/workflows/release-terraform.yamlInvalid workflow file
|
||
with: | ||
module-name: flux2-cluster-bootstrap | ||
tag-name: "${{ github.event.inputs.release-tag }}" | ||
release-message: "${{ github.event.inputs.release-message }}" | ||
environment-name: k8s | ||
runs-on: ghr-flux2-cluster-bootstrap-labda-test | ||
continue-error: false |