Skip to content

Commit

Permalink
feat: update chart publish
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Oct 25, 2023
1 parent 46fea5e commit dcb8a6d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ jobs:
run: |
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io/snapp-incubator/soteria --username ${{ github.repository_owner }} --password-stdin
- name: save helm chart to local registry
- name: package soteria helm chart
run: |
helm chart save / ghcr.io/snapp-incubator/soteria-chart:${{ github.sha }}
version=${{ github.ref_name }}
helm package --version "${version##v}" --app-version "${version}" ./charts/soteria
- name: publish chart to acr
- name: publish soteria chart to github container registry
run: |
helm chart push ghcr.io/snapp-incubator/soteria-chart:${{ github.sha }}
version=${{ github.ref_name }}
helm push "soteria-${version##v}".tgz ghcr.io/snapp-incubator/soteria-chart
5 changes: 2 additions & 3 deletions charts/soteria/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ maintainers:

type: application

version: 8.0.0

appVersion: "v8.0.0"
version: 0.0.0
appVersion: latest

0 comments on commit dcb8a6d

Please sign in to comment.