Skip to content

Commit

Permalink
use crazy-max/ghaction-import-gpg for importing GPG key (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnps authored Mar 14, 2023
1 parent 5ad5ba4 commit a71d2d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 30 deletions.
25 changes: 0 additions & 25 deletions .github/actions/gpg-import/action.yml

This file was deleted.

9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This GitHub action can publish assets for release when a tag is created.
# Currently its setup to run on any tag that matches the pattern "v*" (ie. v0.1.0).
#
# This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your
# This uses an action (crazy-max/ghaction-import-gpg) that assumes you set your
# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
# secret. If you would rather own your own GPG handling, please fork this action
# or use an alternative one for key handling.
Expand Down Expand Up @@ -32,11 +32,10 @@ jobs:
-
name: Import GPG key
id: import_gpg
uses: ./.github/actions/gpg-import
uses: crazy-max/ghaction-import-gpg@v5
env:
# These secrets will need to be configured for the repository:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
Expand Down

0 comments on commit a71d2d1

Please sign in to comment.