chore: delete gpg on release
This commit is contained in:
@@ -13,14 +13,6 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install Gpg
|
|
||||||
run: apt-get update && apt-get install -y gnupg curl
|
|
||||||
|
|
||||||
- name: Import GPG key
|
|
||||||
if: secrets.GPG_PRIVATE_KEY != null
|
|
||||||
run: |
|
|
||||||
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
|
|
||||||
echo "${{ secrets.GPG_FINGERPRINT }}" | gpg --import-ownertrust
|
|
||||||
- name: Install syft
|
- name: Install syft
|
||||||
run: curl -sSfL https://get.anchore.io/syft | sudo sh -s -- -b /usr/local/bin
|
run: curl -sSfL https://get.anchore.io/syft | sudo sh -s -- -b /usr/local/bin
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@@ -55,22 +55,6 @@ checksum:
|
|||||||
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
|
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
|
||||||
algorithm: sha256
|
algorithm: sha256
|
||||||
|
|
||||||
signs:
|
|
||||||
- cmd: gpg
|
|
||||||
args:
|
|
||||||
- "--batch"
|
|
||||||
- "--no-tty"
|
|
||||||
- "--pinentry-mode"
|
|
||||||
- "loopback"
|
|
||||||
- "-u"
|
|
||||||
- "{{ .Env.GPG_FINGERPRINT }}"
|
|
||||||
- "--output"
|
|
||||||
- "${signature}"
|
|
||||||
- "--detach-sign"
|
|
||||||
- "${artifact}"
|
|
||||||
stdin: "{{ .Env.GPG_PASSPHRASE }}"
|
|
||||||
artifacts: checksum
|
|
||||||
|
|
||||||
sboms:
|
sboms:
|
||||||
- artifacts: archive
|
- artifacts: archive
|
||||||
documents:
|
documents:
|
||||||
|
|||||||
Reference in New Issue
Block a user