Merge pull request #412 from intershop/develop/icm #231
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 | |
# releases the main branch | |
# the new versions must already be specified in all Chart.yaml files | |
# before merging to main | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
git pull | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.8.1 | |
- name: Add dependency chart repos | |
run: | | |
# otherwise icm-replication would package an empty icm-chart (there is no recursion in here) | |
helm dependency update charts/icm-as | |
helm dependency update charts/icm | |
helm repo add bitnami https://charts.bitnami.com/bitnami | |
helm repo add kubernetes-ingress-nginx https://kubernetes.github.io/ingress-nginx | |
helm repo add codecentric https://codecentric.github.io/helm-charts | |
helm repo add intershop https://intershop.github.io/helm-charts | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
with: | |
charts_dir: "charts" | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
CR_SKIP_EXISTING: true | |