Browse Source

Update to alpine helm 3.19

master
parent
commit
10b0051d8e
  1. 6
      .drone.yml

6
.drone.yml

@ -5,13 +5,13 @@ name: update-helm-charts
steps:
# Step 1: Lint all Helm charts
- name: lint-charts
image: alpine/helm:3.11.0
image: alpine/helm:3.19.0
commands:
- find charts -maxdepth 2 -type d | grep "/v[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+$" | xargs -I {} helm lint {}
# Step 2: Package only changed Helm charts
- name: package-all-charts
image: alpine/helm:3.11.0
image: alpine/helm:3.19.0
commands:
- mkdir -p charts/dist
# Find all versioned chart directories
@ -23,7 +23,7 @@ steps:
# Step 3: Push charts to Harbor
- name: push-to-harbor
image: alpine/helm:3.11.0
image: alpine/helm:3.19.0
commands:
# Fail if credentials are missing
- "if [ -z \"$HARBOR_USERNAME\" ] || [ -z \"$HARBOR_PASSWORD\" ]; then echo \"Error: HARBOR_USERNAME or HARBOR_PASSWORD not set\"; exit 1; fi"

Loading…
Cancel
Save