Skip to content

Commit

Permalink
fix: chart is signed
Browse files Browse the repository at this point in the history
  • Loading branch information
acouvreur committed Oct 12, 2024
1 parent c485730 commit 0b1f268
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@ jobs:
- name: Set up Helm
uses: azure/setup-helm@v4.2.0

- name: Prepare GPG key
run: |
gpg_dir=.cr-gpg
mkdir "$gpg_dir"
keyring="$gpg_dir/secring.gpg"
base64 -d <<< "$GPG_KEYRING_BASE64" > "$keyring"
passphrase_file="$gpg_dir/passphrase"
echo "$GPG_PASSPHRASE" > "$passphrase_file"
echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV"
echo "CR_KEYRING=$keyring" >> "$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
with:
Expand Down
2 changes: 1 addition & 1 deletion charts/sablier/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

apiVersion: v2
name: sablier
version: 1.0.0
version: 1.0.1
appVersion: "1.8.0"
description: A free and open-source software to start workloads on demand and stop them after a period of inactivity.
type: application
Expand Down
6 changes: 5 additions & 1 deletion cr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
sign: false
# Set to true for GPG signing
sign: true

# UID of the GPG key to use
key: Alexis Couvreur

# Enable automatic generation of release notes using GitHubs release notes generator.
# see: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
Expand Down

0 comments on commit 0b1f268

Please sign in to comment.