Skip to content

chore(charts): update maintainer information #16

chore(charts): update maintainer information

chore(charts): update maintainer information #16

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: helm - repo - index
run: |
helm repo index repository --url "repository"
helm repo index --merge repository/index.yaml .
rm repository/index.yaml
- 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 and updated repository index"
git push