feat(workflows): init terraform

This commit is contained in:
2023-12-09 10:10:51 +02:00
parent 4e4e783476
commit d1d0a87788

View File

@@ -1,6 +1,10 @@
name: checks-trivy
on:
workflow_call:
ssh-private-key:
required: true
ssh-known-hosts:
required: true
jobs:
checks-trivy:
@@ -17,9 +21,9 @@ jobs:
- name: Setup SSH key
uses: benoitchantre/setup-ssh-authentication-action@1.0.1
with:
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
private-key: ${{ secrets.ssh-private-key }}
private-key-name: id_ed25519
known-hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
known-hosts: ${{ secrets.ssh-known-hosts }}
- name: Run terraform init
shell: bash
run: terraform init