Browse Source

Fix charts find command

master
Fábio Kaiser Rauber 2 weeks ago
parent
commit
25c178db2a
  1. 2
      .drone.yml

2
.drone.yml

@ -15,7 +15,7 @@ steps:
commands:
- mkdir -p charts/dist
# Find all versioned chart directories
- ALL_CHARTS=$(find charts -maxdepth 2 -type d -regex ".*/v[0-9]+\.[0-9]+\.[0-9]+")
- "ALL_CHARTS=`find charts -maxdepth 2 -type d -regex '.*/v[0-9]+\.[0-9]+\.[0-9]+'`"
- "echo \"Detected charts: $ALL_CHARTS\""
- if [ -n "$ALL_CHARTS" ]; then echo "$ALL_CHARTS" | xargs -I {} helm package {} --destination charts/dist; else echo "No charts found in repository"; exit 1; fi
# Debug: List packaged files

Loading…
Cancel
Save