Skip to content

chore(charts): update metadata for argo-cd-extensions and cert-manage… #11

chore(charts): update metadata for argo-cd-extensions and cert-manage…

chore(charts): update metadata for argo-cd-extensions and cert-manage… #11

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