Skip to content

Commit a9b61da

Browse files
committed
debug prepare GPG key
1 parent cb9392a commit a9b61da

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- feature/FAC-158_gain-more-artifacthub-recognition
78

89
jobs:
910
release:
@@ -21,10 +22,14 @@ jobs:
2122
2223
- name: Prepare GPG Key
2324
run: |
25+
set -x
26+
2427
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
2528
echo "${{ secrets.GPG_PASSPHRASE }}" > passphrase.txt
2629
# Run the complex command here and save its output to a file
2730
gpg --list-secret-keys --with-colons | grep 'sec' | cut -d: -f5 > gpg_key_id.txt
31+
32+
echo "$GPG_KEY_ID" > gpg_key_id.txt
2833
env:
2934
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
3035
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)