Skip to content

Commit

Permalink
fix: disable gpg singing
Browse files Browse the repository at this point in the history
kvendingoldo committed Jun 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent f79ea3e commit e54e1aa
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -61,9 +61,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.TENV_GITHUB_TOKEN }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_TOKEN }}
GPG_KEY_FILE: ${{ steps.gpg.outputs.GPG_KEY_FILE }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_FINGERPRINT: ${{ steps.gpg.outputs.GPG_FINGERPRINT }}
# GPG_KEY_FILE: ${{ steps.gpg.outputs.GPG_KEY_FILE }}
# GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
# GPG_FINGERPRINT: ${{ steps.gpg.outputs.GPG_FINGERPRINT }}

docker-ghcr:
name: 'Build and release docker image to github container registry'
12 changes: 6 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -238,12 +238,12 @@ checksum:
name_template: "{{ .ProjectName }}_{{ .Tag }}_checksums.txt"
algorithm: sha256

signs:
- artifacts: all
signature: "${artifact}.gpgsig"
id: gpg
cmd: gpg
args: [ "--passphrase", "{{ .Env.GPG_PASSPHRASE }}", "--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}" ]
#signs:
# - artifacts: all
# signature: "${artifact}.gpgsig"
# id: gpg
# cmd: gpg
# args: [ "--passphrase", "{{ .Env.GPG_PASSPHRASE }}", "--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}" ]

nfpms:
- file_name_template: "{{ .ProjectName }}_{{- .Tag }}_{{ .Arch }}"

0 comments on commit e54e1aa

Please sign in to comment.