feat(workflows): init terraform
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user