Skip to content

Commit

Permalink
Merge pull request #120 from dirsigler/dev
Browse files Browse the repository at this point in the history
(feat): add GPG signing steps
  • Loading branch information
dirsigler committed Aug 28, 2023
2 parents 2574edd + a8c232d commit 785a4bd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/configs/cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sign: true
key: Dennis Irsigler
14 changes: 14 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,21 @@ jobs:
with:
version: v3.4.0

- name: Prepare GPG Key
run: |
IFS=""
base64 -d <<< "$GPG_KEYRING_BASE64" > $HOME/secring.gpg
echo "$GPG_PASSPHRASE" > $HOME/passphrase.txt
echo "CR_KEYRING=$HOME/secring.gpg >> "$GITHUB_ENV"
echo "CR_PASSPHRASE_FILE=$HOME/passphrase.txt" >> "$GITHUB_ENV"
env:
GPG_KEYRING_BASE64: "${{ secrets.GPG_KEYRING_BASE64 }}"
GPG_PASSPHRASE: "${{ secrets.GPG_PASSPHRASE}}"

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
with:
config: "./.github/configs/cr.yaml"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 785a4bd

Please sign in to comment.