chore(charts): update metadata for argo-cd-extensions and cert-manage… #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: charts release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'src/charts/**' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
name: Charts Release | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: helm - package | |
run: | | |
for dir in src/charts/*; do | |
if [ -d "$dir" ]; then | |
chart_name=$(basename "$dir") | |
dest_dir="repository/$chart_name" | |
mkdir -p "$dest_dir" | |
helm package "$dir" -d "$dest_dir" | |
echo "Packaged $chart_name to $dest_dir" | |
fi | |
done | |
- name: github - publish - charts | |
run: | | |
git config user.name "Romeo Dumitrescu" | |
git config user.email "[email protected]" | |
git add . | |
git status | |
git commit -m "Published charts" | |
git push | |
index: | |
needs: release | |
uses: ./.github/workflows/repository-index.yaml |