Skip to content

Commit 13dcdf0

Browse files
committed
update prepare gpg key step
1 parent aace3e5 commit 13dcdf0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
echo "Store the GPG key ID to a file"
3232
GPG_KEY_ID=$(gpg --list-secret-keys --with-colons | grep 'sec' | cut -d: -f5)
3333
echo "$GPG_KEY_ID" > gpg_key_id.txt
34+
35+
echo "Export the public key to the location chart-releaser expects"
36+
gpg --output /home/runner/.gnupg/pubring.gpg --export "$GPG_KEY_ID"
3437
env:
3538
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
3639
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)