bump(cnpg-cluster): released chart v1.3.2 #247
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: Release Charts | |
on: | |
repository_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
# https://github.com/helm/helm/issues/8036 | |
# https://github.com/helm/chart-releaser-action/issues/74 | |
- name: Checkout repositories for dependencies | |
run: | | |
helm repo add bitnami https://charts.bitnami.com/bitnami | |
- name: Run CI script if present | |
run: | | |
for chart in charts/*; do | |
[ -e "$chart" ] || continue | |
if [ -f "$chart/ci.sh" ]; then | |
cd "$chart" | |
echo "Running custom CI script for $chart" | |
./ci.sh "${{ github.event.client_payload.ref }}" "${{ github.event.client_payload.notes }}" "${{ github.event.client_payload.contains_security_updates }}" | |
cd - > /dev/null | |
fi | |
done | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: '${{ secrets.CR_TOKEN }}' | |
CR_SKIP_EXISTING: true | |
with: | |
charts_repo_url: https://charts.enix.io/ |