Updated provider #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Apply - Terraform via ARC | |
on: | |
push: | |
branches: | |
- main | |
env: | |
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }} | |
jobs: | |
deploy: | |
runs-on: arc-dind | |
container: image-registry.openshift-image-registry.svc:5000/arc-runners/terraform-runner:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Git as root | |
run: git config --global --add safe.directory '*' | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SSH_PRIVATE_KEY }} | |
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} | |
- name: Terraform apply | |
run: make apply |