make GPG workflows run on PR #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GPG sign DEB | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
sign-deb: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: setup GPG | |
uses: ./devops/setup-gpg | |
with: | |
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }} | |
gpg-public-key: ${{ secrets.GPG_PUBLIC_KEY }} | |
gpg-key-pass: ${{ secrets.GPG_PASS }} | |
gpg-key-name: "aerospike-inc" | |
- name: Sign and check rpm # gpg sign and verify rpm packages | |
env: | |
GPG_TTY: no-tty | |
# your rpm here | |
run: | | |
rpm --addsign tests/*.rpm | |
rpm --checksig tests/*.rpm | |
- name: GPG sign deb # gpg sign and verify deb packages | |
env: | |
GPG_TTY: no-tty | |
run: | | |
dpkg-sig --sign builder tests/*.deb |