ci: attempt to fix gpg signing

pull/10/head v2.0.0-beta4
sundowndev 2022-12-05 13:03:46 +04:00
parent ed5a85be5f
commit 8102312ef0
2 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,9 @@ jobs:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }} passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: configure GPG TTY
run: export GPG_TTY=$(tty)
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3.0.0 uses: goreleaser/goreleaser-action@v3.0.0
with: with:

View File

@ -11,7 +11,7 @@ before:
- go generate ./... - go generate ./...
signs: signs:
- artifacts: checksum - artifacts: checksum
args: ["--use-agent", "--armor", "--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"] args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
signature: "${artifact}.gpg" signature: "${artifact}.gpg"
builds: builds:
- id: "covermyass" - id: "covermyass"