From 2202244dd9345010858761e21c4d0c1dfd3f87fd Mon Sep 17 00:00:00 2001
From: Steffen Tautenhahn <stevie-@users.noreply.github.com>
Date: Tue, 11 Aug 2020 15:52:02 +0200
Subject: [PATCH 1/2] fix(signing): enable signing

+ correct secret references

Signed-off-by: Steffen Tautenhahn <stevie-@users.noreply.github.com>
---
 .github/workflows/release.yml | 4 ++--
 .goreleaser.yml               | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d02abd5c..0e0ca334 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -23,8 +23,8 @@ jobs:
         id: import_gpg
         uses: crazy-max/ghaction-import-gpg@v2
         env:
-          GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
-          PASSPHRASE: ${{ secrets.PASSPHRASE }}
+          GPG_PRIVATE_KEY: ${{ secrets.DATADRIVERS_GPG_PRIVATE_KEY }}
+          PASSPHRASE: ${{ secrets.DATADRIVERS_GPG_PASSPHRASE }}
       - name: Run GoReleaser
         uses: goreleaser/goreleaser-action@v2
         with:
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 3d9c8432..2a0476cc 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -19,3 +19,7 @@ archives:
     format: zip
   files:
   - none*
+
+signs:
+  - artifacts: checksum
+    args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]

From 91453cdbd5a714ddb69da1be925ebde6ee897033 Mon Sep 17 00:00:00 2001
From: Steffen Tautenhahn <stevie-@users.noreply.github.com>
Date: Thu, 13 Aug 2020 11:00:17 +0200
Subject: [PATCH 2/2] fix(pipeline): use default names

Signed-off-by: Steffen Tautenhahn <stevie-@users.noreply.github.com>
---
 .github/workflows/release.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0e0ca334..34f522fa 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -23,8 +23,8 @@ jobs:
         id: import_gpg
         uses: crazy-max/ghaction-import-gpg@v2
         env:
-          GPG_PRIVATE_KEY: ${{ secrets.DATADRIVERS_GPG_PRIVATE_KEY }}
-          PASSPHRASE: ${{ secrets.DATADRIVERS_GPG_PASSPHRASE }}
+          GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
+          PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
       - name: Run GoReleaser
         uses: goreleaser/goreleaser-action@v2
         with: