From cd040ecd101024a20f48bf3ebd5de6701f34b107 Mon Sep 17 00:00:00 2001 From: drivebyer Date: Thu, 30 May 2024 11:20:37 +0800 Subject: [PATCH] build: separate chart / image release process Signed-off-by: drivebyer --- .github/workflows/publish-charts.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-charts.yaml b/.github/workflows/publish-charts.yaml index 9a77c29f8..e86e50d43 100644 --- a/.github/workflows/publish-charts.yaml +++ b/.github/workflows/publish-charts.yaml @@ -1,9 +1,15 @@ name: Release Charts +#on: +# push: +# tags: +# - "v*.*.*" on: push: - tags: - - "v*.*.*" + paths: + - 'charts/**' + branches: + - master jobs: release-charts: @@ -36,8 +42,8 @@ jobs: shell: bash working-directory: redis-operator run: | - VERSION=$(echo ${{ env.chart_version }} | cut -c 2-) - sed -i "s/appVersion:.*/appVersion: \"$VERSION\"/g" charts/redis-operator/Chart.yaml +# VERSION=$(echo ${{ env.chart_version }} | cut -c 2-) +# sed -i "s/appVersion:.*/appVersion: \"$VERSION\"/g" charts/redis-operator/Chart.yaml helm repo add jetstack https://charts.jetstack.io helm repo update helm dependency update charts/redis-operator