Skip to content

Commit 49edaaf

Browse files
feat(ci): align helm release with controller release (#403)
Signed-off-by: Oliver Bähler <[email protected]>
1 parent 4c44ccd commit 49edaaf

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/helm-publish.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Publish charts
22
permissions: read-all
33
on:
44
push:
5-
tags: [ "helm-v*" ]
5+
tags:
6+
- 'v*'
67

78
concurrency:
89
group: ${{ github.workflow }}-${{ github.ref }}
@@ -26,6 +27,7 @@ jobs:
2627
with:
2728
token: "${{ secrets.HELM_CHARTS_PUSH_TOKEN }}"
2829
linting: off
30+
app_version: ${{ steps.extract_version.outputs.version }}
2931
chart_version: ${{ steps.extract_version.outputs.version }}
3032
charts_dir: charts
3133
charts_url: https://${{ github.repository_owner }}.github.io/charts
@@ -58,6 +60,7 @@ jobs:
5860
repository: ${{ github.repository_owner }}/charts
5961
name: "capsule-proxy"
6062
version: ${{ steps.extract_version.outputs.version }}
63+
app-version: ${{ steps.extract_version.outputs.version }}
6164
registry-username: ${{ github.actor }}
6265
registry-password: ${{ secrets.GITHUB_TOKEN }}
6366
update-dependencies: 'true' # Defaults to false

.goreleaser.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,14 @@ release:
3636
**Full Changelog**: https://github.com/projectcapsule/{{ .ProjectName }}/compare/{{ .PreviousTag }}...{{ .Tag }}
3737
3838
**Docker Images**
39-
- `ghcr.io/projectcapsule/{{ .ProjectName }}:{{ .Tag }}`
39+
- `ghcr.io/projectcapsule/{{ .ProjectName }}:{{ .Version }}`
4040
- `ghcr.io/projectcapsule/{{ .ProjectName }}:latest`
41+
42+
**Helm Chart**
43+
View this release on [Artifact Hub](https://artifacthub.io/packages/helm/projectcapsule/capsule-proxy/{{ .Version }}) or use the OCI helm chart:
44+
45+
- `ghcr.io/projectcapsule/charts/{{ .ProjectName }}:{{ .Version }}`
46+
4147
checksum:
4248
name_template: 'checksums.txt'
4349
changelog:

0 commit comments

Comments
 (0)