diff --git a/.github/workflows/helm-publish.yml b/.github/workflows/helm-publish.yml index 58fc8321..1a0884c0 100644 --- a/.github/workflows/helm-publish.yml +++ b/.github/workflows/helm-publish.yml @@ -2,7 +2,8 @@ name: Publish charts permissions: read-all on: push: - tags: [ "helm-v*" ] + tags: + - 'v*' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -27,6 +28,7 @@ jobs: token: "${{ secrets.HELM_CHARTS_PUSH_TOKEN }}" linting: off chart_version: ${{ steps.extract_version.outputs.version }} + app_version: ${{ steps.extract_version.outputs.version }} charts_dir: charts charts_url: https://${{ github.repository_owner }}.github.io/charts owner: ${{ github.repository_owner }} @@ -58,6 +60,7 @@ jobs: repository: ${{ github.repository_owner }}/charts name: "capsule" version: ${{ steps.extract_version.outputs.version }} + app-version: ${{ steps.extract_version.outputs.version }} registry-username: ${{ github.actor }} registry-password: ${{ secrets.GITHUB_TOKEN }} update-dependencies: 'true' # Defaults to false diff --git a/.goreleaser.yml b/.goreleaser.yml index 147f4ac1..c597bf78 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -38,6 +38,9 @@ release: **Docker Images** - `ghcr.io/projectcapsule/{{ .ProjectName }}:{{ .Tag }}` - `ghcr.io/projectcapsule/{{ .ProjectName }}:latest` + + **Helm Chart** + View this release on [Artifact Hub](https://artifacthub.io/packages/helm/projectcapsule/capsule/{{ .Tag | trimSuffix "v" }}) checksum: name_template: 'checksums.txt' changelog: