Update .gitea/workflows/tf-plan.yml

This commit is contained in:
2023-12-12 09:32:51 +02:00
committed by Gitea Bot
parent b159b2049d
commit 38d87d5dde

View File

@@ -32,10 +32,24 @@ jobs:
cli_config_credentials_token: ${{ secrets.tf-api-token }} cli_config_credentials_token: ${{ secrets.tf-api-token }}
- name: Clone repo - name: Clone repo
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Decrypt blackbox secrets - name: Clone blackbox repo
uses: ./.gitea/workflows/sec-blackbox-decrypt.yml uses: actions/checkout@v4
with: with:
gpg-key: ${{ secrets.gpg-key }} repository: xaked/blackbox
path: blackbox
ref: master
- name: Install blackbox
shell: bash
run: |
cd blackbox || exit 1;
make copy-install;
cd ${{ github.workspace }};
rm -rf blackbox;
- name: Decrypt secrets
shell: bash
run: |
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
blackbox_decrypt_all_files;
- name: Setup SSH key - name: Setup SSH key
uses: benoitchantre/setup-ssh-authentication-action@1.0.1 uses: benoitchantre/setup-ssh-authentication-action@1.0.1
with: with: