pipeline: tryfix helm chart versionning
pipeline / build-and-push-images (push) Successful in 1m8s
pipeline / lint-and-publish-chart (push) Failing after 9s

This commit is contained in:
2026-05-14 11:51:58 +02:00
parent 8974ca8926
commit 3c63e8f69a
+3 -2
View File
@@ -46,8 +46,9 @@ jobs:
run: | run: |
# Get base chart version from Chart.yaml # Get base chart version from Chart.yaml
BASE_VERSION=$(grep '^version:' chart/Chart.yaml | awk '{print $2}') BASE_VERSION=$(grep '^version:' chart/Chart.yaml | awk '{print $2}')
# Use timestamp for ordered versions (e.g., 0.1.0-20240511.130400) # Use timestamp for ordered versions (e.g., 0.1.0-20240511-130400)
TIMESTAMP=$(date -u +"%Y%m%d.%H%M%S") # Note: SemVer pre-release cannot contain dots, only hyphens and alphanumerics
TIMESTAMP=$(date -u +"%Y%m%d-%H%M%S")
CHART_VERSION="${BASE_VERSION}-${TIMESTAMP}" CHART_VERSION="${BASE_VERSION}-${TIMESTAMP}"
# Update both version and appVersion # Update both version and appVersion