1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-18 23:03:06 +00:00

pipe straight to dot

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2023-04-27 18:29:13 -04:00
parent 113c1a6d07
commit 2f72f14aaf
Failed to extract signature

View file

@ -43,14 +43,13 @@ jobs:
run: |
terraform init
terraform plan -input=false -lock=false -out=plan.tmp
terraform graph -plan=plan.tmp > plan.dot
dot -Tpng plan.dot > plan.png
terraform graph -plan=plan.tmp | dot -Tpng > plan.png
- uses: actions/upload-artifact@v3
if: ${{ failure() || success() }}
with:
name: plan
path: plan.*
name: plan.png
path: plan.png
- name: Terraform Apply
if: ${{ github.event_name == 'push' }}