Merge pull request 'fix(iac): pin cloudflare provider + lockfile, trust homelab CA in gitea provider' (#12) from arcodange/iac-provider-fixes into main
This commit was merged in pull request #12.
This commit is contained in:
@@ -62,6 +62,10 @@ jobs:
|
||||
run: echo -n "${{ secrets.HOMELAB_CA_CERT }}" | base64 -d > $VAULT_CACERT
|
||||
- name: terraform apply
|
||||
uses: dflook/terraform-apply@v1
|
||||
env:
|
||||
# the apply runs in dflook's container, which doesn't trust the homelab CA;
|
||||
# hand the gitea provider the CA cert the step above wrote to the workspace
|
||||
TF_VAR_gitea_cacert_file: "${{ github.workspace }}/homelab.pem"
|
||||
with:
|
||||
path: iac
|
||||
auto_approve: true
|
||||
Reference in New Issue
Block a user