From 797b85b228d1b52dc63e852beedf63b654a35960 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Fri, 5 Jun 2020 11:10:34 +0200 Subject: [PATCH] chore: use external gpg handling action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Héctor Hurtado --- .github/workflows/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0a1f4a..577cf51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,10 +30,15 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} - - uses: goreleaser/goreleaser-action@v1 + - name: Import GPG key + id: import_gpg + uses: crazy-max/ghaction-import-gpg@v2 + env: + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + + - uses: goreleaser/goreleaser-action@v2 with: args: release --rm-dist ${{ steps.release-notes.outputs.ARGS }} - key: ${{ secrets.KEY }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GO_VERSION: 1.14.3 + GO_VERSION: 1.14.4