feat(workflows): init terraform
This commit is contained in:
@@ -27,15 +27,19 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: xaked/blackbox
|
||||
path: /tmp/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: |
|
||||
cd /tmp/blackbox || exit 1;
|
||||
make copy-install;
|
||||
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
||||
cd ${{ github.workspace }};
|
||||
blackbox_decrypt_all_files;
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
@@ -95,15 +99,19 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: xaked/blackbox
|
||||
path: /tmp/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: |
|
||||
cd /tmp/blackbox || exit 1;
|
||||
make copy-install;
|
||||
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
||||
cd ${{ github.workspace }};
|
||||
blackbox_decrypt_all_files;
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
|
||||
@@ -25,15 +25,19 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: xaked/blackbox
|
||||
path: /tmp/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: |
|
||||
cd /tmp/blackbox || exit 1;
|
||||
make copy-install;
|
||||
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
||||
cd ${{ github.workspace }};
|
||||
blackbox_decrypt_all_files;
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user