From 0c036f0a3d0cecc77ca2c532844f6ab8c0c0925d Mon Sep 17 00:00:00 2001 From: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:47:05 +0530 Subject: [PATCH] ci: Fix Ci for the helm chart release (#1075) * chore: update redis-operator chart version to 0.18.3 Signed-off-by: Shubham Gupta * ci: update publish-charts.yaml workflow Signed-off-by: Shubham Gupta --------- Signed-off-by: Shubham Gupta --- .github/workflows/publish-charts.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-charts.yaml b/.github/workflows/publish-charts.yaml index b02af6181..2aaef7a01 100644 --- a/.github/workflows/publish-charts.yaml +++ b/.github/workflows/publish-charts.yaml @@ -1,6 +1,12 @@ name: Release Charts on: + pull_request: + paths: + - 'charts/**' + - '.github/workflows/publish-charts.yaml' + branches: + - master push: paths: - 'charts/**' @@ -104,7 +110,7 @@ jobs: run: | helm repo add jetstack https://charts.jetstack.io helm repo update - + chart_dirs=("redis-operator" "redis" "redis-cluster" "redis-replication" "redis-sentinel") for dir in "${chart_dirs[@]}" do @@ -112,7 +118,7 @@ jobs: helm dependency update ./charts/$dir/ fi helm package charts/$dir -d .cr-release-packages - done + done - name: Install chart-releaser uses: helm/chart-releaser-action@v1.5.0