Skip to content

Commit dcb8a6d

Browse files
committed
feat: update chart publish
1 parent 46fea5e commit dcb8a6d

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/helm.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ jobs:
4747
run: |
4848
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io/snapp-incubator/soteria --username ${{ github.repository_owner }} --password-stdin
4949
50-
- name: save helm chart to local registry
50+
- name: package soteria helm chart
5151
run: |
52-
helm chart save / ghcr.io/snapp-incubator/soteria-chart:${{ github.sha }}
52+
version=${{ github.ref_name }}
53+
helm package --version "${version##v}" --app-version "${version}" ./charts/soteria
5354
54-
- name: publish chart to acr
55+
- name: publish soteria chart to github container registry
5556
run: |
56-
helm chart push ghcr.io/snapp-incubator/soteria-chart:${{ github.sha }}
57+
version=${{ github.ref_name }}
58+
helm push "soteria-${version##v}".tgz ghcr.io/snapp-incubator/soteria-chart

charts/soteria/Chart.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ maintainers:
1111

1212
type: application
1313

14-
version: 8.0.0
15-
16-
appVersion: "v8.0.0"
14+
version: 0.0.0
15+
appVersion: latest

0 commit comments

Comments
 (0)