fix(ci): check of chart version
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2024-05-30 16:27:29 +02:00
parent d105c38ca7
commit e1b7f97791
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -85,7 +85,7 @@ steps:
- name: release-helm-chart - name: release-helm-chart
commands: commands:
- grep --only-matching 'version:"${DRONE_TAG}"' Chart.yaml 1> /dev/null - grep --only-matching 'version:"${DRONE_TAG}"' Chart.yaml || echo "Version ${DRONE_TAG} not found in Chart.yaml"
- helm repo add drone https://charts.cryptic.systems/drone - helm repo add drone https://charts.cryptic.systems/drone
- helm package --version ${DRONE_TAG} . - helm package --version ${DRONE_TAG} .
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone - helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone