Skip to content

Commit 6d0a82a

Browse files
author
Yvo Swillens
committed
test Helm chart signing
1 parent aaa5db3 commit 6d0a82a

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/helm-release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,26 @@ jobs:
2121
with:
2222
version: v3.8.1
2323

24+
- name: Prepare GPG key
25+
run: |
26+
gpg_dir=.cr-gpg
27+
mkdir "$gpg_dir"
28+
keyring="$gpg_dir/secring.gpg"
29+
base64 -d <<< "$GPG_KEYRING_BASE64" > "$keyring"
30+
passphrase_file="$gpg_dir/passphrase"
31+
echo "$GPG_PASSPHRASE" > "$passphrase_file"
32+
echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV"
33+
echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV"
34+
env:
35+
GPG_KEYRING_BASE64: "${{ secrets.GPG_KEYRING_BASE64 }}"
36+
GPG_PASSPHRASE: "${{ secrets.GPG_PASSPHRASE }}"
37+
2438
- name: Run chart-releaser
2539
uses: helm/chart-releaser-action@v1.4.0
2640
with:
2741
charts_dir: k8s
42+
sign: true
43+
key: yvoswillens@gmail.com
2844
# charts_repo_url: https://flowable.github.io/helm/
2945
env:
3046
# CR_OWNER: yvoswillens

k8s/flowable/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: flowable
3-
version: 6.7.3-snapshot.3
3+
version: 6.7.3-snapshot.4
44
description: A Flowable Helm chart for Kubernetes
55
appVersion: 6.7.2
66
home: https://flowable.org

0 commit comments

Comments
 (0)