Skip to content

Commit

Permalink
build: separate chart / image release process
Browse files Browse the repository at this point in the history
Signed-off-by: drivebyer <[email protected]>
  • Loading branch information
drivebyer committed May 30, 2024
1 parent 8ba7390 commit cd040ec
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/publish-charts.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
name: Release Charts

#on:
# push:
# tags:
# - "v*.*.*"
on:
push:
tags:
- "v*.*.*"
paths:
- 'charts/**'
branches:
- master

jobs:
release-charts:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cd040ec

Please sign in to comment.