File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -44,20 +44,18 @@ jobs:
4444 echo "version=0.0.0-dev" >> $GITHUB_OUTPUT
4545 fi
4646
47- - name : Update Chart.yaml with version
47+ - name : Set chart version
4848 run : |
4949 sed -i "s/^version:.*/version: ${{ steps.get_version.outputs.version }}/" ./chart/Chart.yaml
5050 sed -i "s/^appVersion:.*/appVersion: \"${{ steps.get_version.outputs.version }}\"/" ./chart/Chart.yaml
5151 cat ./chart/Chart.yaml
52+ helm template --debug ./chart
5253
53- - name : Validate Helm chart (dry-run)
54- if : " !startsWith(github.ref, 'refs/tags/v')"
54+ - name : Lint
5555 run : |
5656 helm lint chart
57- helm package chart --dry-run
58- echo "Helm chart validation successful (dry-run mode)"
5957
60- - name : Publish Helm chart to GHCR
58+ - name : Publish chart to registry
6159 if : startsWith(github.ref, 'refs/tags/v')
6260 run : |
6361 helm package chart
You can’t perform that action at this time.
0 commit comments