File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,32 @@ jobs:
4343 - name : Add dependency chart repos
4444 run : helm repo add bitnami https://charts.bitnami.com/bitnami
4545
46+ - name : Prepare GPG key
47+ run : |
48+ gpg_dir=.cr-gpg
49+ mkdir "$gpg_dir"
50+ # referring keyring to private key of gpg
51+ keyring="$gpg_dir/secring.gpg"
52+ # storing base64 GPG key into keyring
53+ base64 -d <<< "$GPG_KEYRING_BASE64" > "$keyring"
54+ passphrase_file="$gpg_dir/passphrase"
55+ # storing passphrase data into a file
56+ echo "$GPG_PASSPHRASE" > "$passphrase_file"
57+ # saving passphrase into github-environment
58+ echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV"
59+ # saving private key into github-environemnt
60+ echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV"
61+ env :
62+ GPG_KEYRING_BASE64 : " ${{ secrets.GPG_KEYRING_BASE64 }}" # Referring secrets of github above
63+ GPG_PASSPHRASE : " ${{ secrets.GPG_PASSPHRASE }}"
64+
4665 - name : Run chart-releaser
47664867 env :
4968 CR_GENERATE_RELEASE_NOTES : true
5069 CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
70+ CR_SIGN : true # set to true to sign images
71+ CR_KEY : " ${{ secrets.CR_KEY }}" # Name used while creating key
5172 with :
5273 charts_dir : .
5374
Original file line number Diff line number Diff line change @@ -15,14 +15,19 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.4.2
18+ version : 0.4.3
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
2222# follow Semantic Versioning. They should reflect the version the application is using.
2323# It is recommended to use it with quotes.
2424appVersion : " 11.0.18"
2525
26+ annotations :
27+ artifacthub.io/signKey : |
28+ fingerprint: EB897F34A4E514AEAD2B94C3A4C0BC9187350077
29+ url: https://keys.openpgp.org/vks/v1/by-fingerprint/EB897F34A4E514AEAD2B94C3A4C0BC9187350077
30+
2631home : https://seafile.com
2732sources :
2833 - https://github.com/haiwen/seafile
You can’t perform that action at this time.
0 commit comments