bring the artifact GPG signing

This commit is contained in:
Serge Smertin 2022-05-14 12:15:43 +02:00
parent da41d3c154
commit 3cc425f7f1
1 changed files with 7 additions and 7 deletions

View File

@ -15,17 +15,17 @@ jobs:
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.16 go-version: 1.16
# - name: Import GPG key - name: Import GPG key
# id: import_gpg id: import_gpg
# uses: hashicorp/ghaction-import-gpg@v2.1.0 uses: hashicorp/ghaction-import-gpg@v2.1.0
# env: env:
# GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
# PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v2
with: with:
version: latest version: latest
args: release --rm-dist args: release --rm-dist
env: env:
# GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}