From a7e0a4f7bdfd4e3c98b75c51794c227083b76585 Mon Sep 17 00:00:00 2001 From: Peter Kirschner Date: Wed, 22 May 2024 15:18:27 +0200 Subject: [PATCH] enable gpg signing --- .github/workflows/30_release-deployment.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/30_release-deployment.yml b/.github/workflows/30_release-deployment.yml index 65daf87..008dd31 100644 --- a/.github/workflows/30_release-deployment.yml +++ b/.github/workflows/30_release-deployment.yml @@ -16,6 +16,10 @@ jobs: release: runs-on: ubuntu-latest env: + RELEASE_VERSION: '${{ github.event.inputs.release-version }}' + NEXT_SNAPSHOT_VERSION: '${{ github.event.inputs.next-snaphot-version }}' + GPG_SIGNING_KEY: '${{ secrets.GPG_SIGNING_KEY }}' + GPG_PASSPHRASE_PETER_AT_KLIB_IO: '${{ secrets.GPG_PASSPHRASE_PETER_AT_KLIB_IO }}' REPOSILITE_ID: '${{ vars.REPOSILITE_ID }}' REPOSILITE_URL: '${{ vars.REPOSILITE_URL }}' REPOSILITE_USER_RELEASE: '${{ secrets.REPOSILITE_USER_RELEASE }}' @@ -46,6 +50,11 @@ jobs: 17 21 + - name: Configure GPG Key + run: | + echo -n "$GPG_SIGNING_KEY" | base64 --decode > private-key.gpg + echo "$GPG_PASSPHRASE_PETER_AT_KLIB_IO" | gpg --batch --quiet --yes --no-use-agent --passphrase-fd 0 your_file.gpg + - name: build shell: bash run: |