File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ name: release-source
22
33on :
44 workflow_call :
5+ inputs :
6+ is_helm_chart :
7+ description : ' Specify if this is a Helm Chart repository'
8+ required : false
9+ type : boolean
10+ default : false
511
612permissions :
713 contents : write
@@ -128,7 +134,7 @@ jobs:
128134 - name : Add Helm repository
129135 run : helm repo add datavisyn https://chartmuseum.app.datavisyn.io --username ${{ env.CHARTMUSEUM_USER }} --password ${{ env.CHARTMUSEUM_PASSWORD }}
130136 - name : change charts and subcharts version
131- if : ${{ github.repository == 'datavisyn/reprovisyn' || github.repository == 'datavisyn/aevidence' || github.repository == 'datavisyn/test-app' }}
137+ if : ${{ github.event.inputs.is_helm_chart }}
132138 run : |
133139 cd deploy/helm
134140 ls_result="$(ls)"
@@ -150,7 +156,7 @@ jobs:
150156 git add .
151157 git commit -m "Update chart version to $RELEASE_VERSION"
152158 - name : update imageTag and repository_tag in values files
153- if : ${{ github.repository == 'datavisyn/reprovisyn' || github.repository == 'datavisyn/aevidence' }}
159+ if : ${{ github.event.inputs.is_helm_chart }}
154160 run : |
155161 cd deploy/helm
156162 ls_result="$(ls)"
@@ -183,7 +189,7 @@ jobs:
183189 env :
184190 CHARTMUSEUM_PASSWORD : ${{ secrets.DV_CHARTMUSEUM_PASSWORD }}
185191 - name : update readme files
186- if : ${{ github.repository == 'datavisyn/reprovisyn' || github.repository == 'datavisyn/aevidence' }}
192+ if : ${{ github.event.inputs.is_helm_chart }}
187193 run : |
188194 # install homebrew package manager
189195 yes | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
You can’t perform that action at this time.
0 commit comments