Skip to content

Commit 75c7fb9

Browse files
committed
Update the chart workflow
1 parent 80042db commit 75c7fb9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/push-chart.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)