ci: import dagger key

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-05-27 18:43:48 -07:00
parent 5fb7ded2d5
commit f2819dc1a5

View File

@ -82,6 +82,13 @@ jobs:
sudo curl -L -o /usr/local/bin/sops https://github.com/mozilla/sops/releases/download/v3.6.1/sops-v3.6.1.linux sudo curl -L -o /usr/local/bin/sops https://github.com/mozilla/sops/releases/download/v3.6.1/sops-v3.6.1.linux
sudo chmod +x /usr/local/bin/sops sudo chmod +x /usr/local/bin/sops
- name: Import Dagger private key
env:
DAGGER_AGE_KEY: ${{ secrets.DAGGER_AGE_KEY }}
run: |
mkdir ~/.dagger
echo "$DAGGER_AGE_KEY" > ~/.dagger/keys.txt
- name: Import PGP private key - name: Import PGP private key
env: env:
SOPS_PGP_KEY: ${{ secrets.SOPS_PGP_KEY }} SOPS_PGP_KEY: ${{ secrets.SOPS_PGP_KEY }}