From b0a6dceb1da3f7b0651b2b339675efde02a3db04 Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Wed, 23 Oct 2024 15:39:03 +0200 Subject: [PATCH] Sign the chart (#13) --- .github/workflows/release.yml | 7 +++++++ charts/monica/Chart.yaml | 6 +++++- charts/monica/README.md | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0fc21c6..1249563 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,10 @@ jobs: git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + - name: Import GPG key + run: | + echo -e "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --dearmor --output keyring.gpg + - name: Set up Helm uses: azure/setup-helm@v4 with: @@ -45,4 +49,7 @@ jobs: - name: Run chart-releaser uses: helm/chart-releaser-action@v1 env: + CR_KEY: ${{ secrets.CR_KEY }} + CR_KEYRING: keyring.gpg + CR_SIGN: true CR_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/charts/monica/Chart.yaml b/charts/monica/Chart.yaml index ee6f126..6e06ef3 100644 --- a/charts/monica/Chart.yaml +++ b/charts/monica/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: monica description: A Helm chart for Kubernetes to install Monica type: application -version: 1.0.8 +version: 1.0.9 appVersion: "5.0.0" icon: https://raw.githubusercontent.com/monicahq/monica/aa98c09/public/img/favicon.svg maintainers: @@ -37,3 +37,7 @@ dependencies: version: 0.10.* repository: https://meilisearch.github.io/meilisearch-kubernetes condition: meilisearch.enabled +annotations: + artifacthub.io/signKey: | + fingerprint: AFE991E31648AE825AD37DDF932D00A7AEEA553D + url: https://monicahq.github.io/helm/public-key.asc diff --git a/charts/monica/README.md b/charts/monica/README.md index f6beeba..aabd423 100644 --- a/charts/monica/README.md +++ b/charts/monica/README.md @@ -1,6 +1,6 @@ # monica -![Version: 1.0.8](https://img.shields.io/badge/Version-1.0.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.0.0](https://img.shields.io/badge/AppVersion-5.0.0-informational?style=flat-square) +![Version: 1.0.9](https://img.shields.io/badge/Version-1.0.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.0.0](https://img.shields.io/badge/AppVersion-5.0.0-informational?style=flat-square) A Helm chart for Kubernetes to install Monica