Skip to content

Merge pull request #445 from intershop/develop/icm #3

Merge pull request #445 from intershop/develop/icm

Merge pull request #445 from intershop/develop/icm #3

name: Release Charts
on:
workflow_dispatch:
# releases the main branch
# the new versions must already be specified in all Chart.yaml files
# before merging to main
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