V8.02.768.2025.06.01
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -95,12 +95,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
### GPG-Home relative to the Runner Workspace to avoid changing global files.
|
### GPG-Home relative to the Runner Workspace to avoid changing global files.
|
||||||
export GNUPGHOME="$(pwd)/.gnupg"
|
export GNUPGHOME="$(pwd)/.gnupg"
|
||||||
mkdir -m700 "${GNUPGHOME}"
|
mkdir -m 700 "${GNUPGHOME}"
|
||||||
echo "${{ secrets.PGP_MSW_DEPLOY_CORESECRET_DEV }}" >| ci-bot.sec.asc
|
echo "${{ secrets.PGP_MSW_DEPLOY_CORESECRET_DEV }}" >| ci-bot.sec.asc
|
||||||
gpg --batch --import ci-bot.sec.asc
|
gpg --batch --import ci-bot.sec.asc
|
||||||
### Trust the key automatically
|
### Trust the key automatically
|
||||||
KEY_ID=$(gpg --list-keys --with-colons | awk -F: '/^pub:/ {print $5}')
|
KEY_ID=$(gpg --list-keys --with-colons | awk -F: '/^pub:/ {print $5}')
|
||||||
echo "trust-model always" >| "${GNUPGHOME}/gpg.conf"
|
echo "trust-model always" >| "${GNUPGHOME}/gpg.conf"
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Configuring Git for signed CI/DEPLOY commits.
|
- name: Configuring Git for signed CI/DEPLOY commits.
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user