File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : publish-terra-app-helm-charts
2
+ on :
3
+ workflow_dispatch :
4
+ inputs :
5
+ chart-name :
6
+ description : ' Name for the chart. Valid values: aou-rstudio-chart, aou-sas-chart.'
7
+ required : true
8
+ type : string
9
+
10
+ jobs :
11
+ update-and-publish :
12
+ name : Publish new charts in terra-app-helm directory
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - name : Find out next chart version
17
+ run : |
18
+ currentVersion=$(grep '^version:' terra-app-helm/${{ inputs.chart-name }}/Chart.yaml | awk '{print $NF}')
19
+
20
+ echo "CURRENT_VERSION=$currentVersion" >> $GITHUB_ENV
21
+
22
+ - name : Publish the new helm chart and update index.yaml
23
+ run : |
24
+ ./terra-app-helm/publish.sh ${{ inputs.chart-name }} $CURRENT_VERSION
You can’t perform that action at this time.
0 commit comments