Skip to content

Commit

Permalink
Update release-terraform.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-hermann-sva committed Jan 7, 2024
1 parent b001673 commit 91faa79
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release-terraform.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Release Terraform
name: Validate and Release Terraform Module
on:
workflow_dispatch:
inputs:
Expand All @@ -11,9 +11,20 @@ on:
type: string

jobs:
release-terraform:
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-vsphere-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: vsphere-vm
Expand Down

0 comments on commit 91faa79

Please sign in to comment.