feat(workflows): init terraform
This commit is contained in:
32
.gitea/workflows/sec-blackbox-decrypt.yml
Normal file
32
.gitea/workflows/sec-blackbox-decrypt.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
# - name: Blackbox decrypt
|
||||
# uses: https://git.palkoi.net/local/workflows/security/blackbox-decrypt.yml
|
||||
# secrets:
|
||||
# gpg-key: ${{ secrets.gpg-key }}
|
||||
name: blackbox-decrypt
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
gpg-key:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
blackbox-decrypt:
|
||||
name: Blackbox Decrypt
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone blackbox repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: xaked/blackbox
|
||||
path: /tmp/blackbox
|
||||
ref: master
|
||||
- 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;
|
||||
Reference in New Issue
Block a user