Fix case sensitivity in appVersion reference in deployment.yaml; add check to skip commit if no changes in build.yml

This commit is contained in:
sha
2026-03-20 16:42:12 +02:00
parent 2ad020761e
commit a64a322513
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -65,5 +65,9 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add helm/Chart.yaml
git commit -m "chore: chart ${{ steps.chart.outputs.version }}, appVersion ${{ steps.tag.outputs.value }} [skip ci]"
git push
if git diff --cached --quiet; then
echo "No changes to commit; skipping commit and push."
else
git commit -m "chore: chart ${{ steps.chart.outputs.version }}, appVersion ${{ steps.tag.outputs.value }} [skip ci]"
git push
fi
+1 -1
View File
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.appVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http