Skip to content

Commit 294ebc1

Browse files
committed
fix perl sign package [perl]
1 parent 54ba659 commit 294ebc1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/reusable_sign_packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ jobs:
8787
8888
- name: Check if the key was imported ${{ inputs._IMAGE_TYPE }}
8989
run: |
90-
rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n'
91-
gpg --list-keys
90+
gpg --batch --list-secret-keys --keyid-format LONG support@inverse.ca
91+
gpg --batch --with-colons --list-secret-keys support@inverse.ca | grep -q '^sec:'
9292
9393
- name: Sign the package ${{ inputs._IMAGE_TYPE }}
9494
run: rpm --define "_gpg_name support@inverse.ca" --define '_signature gpg' --addsign /mnt/${{ inputs._PACKAGE_NAME }}*.rpm

0 commit comments

Comments
 (0)