File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 14
14
with :
15
15
fetch-depth : 0
16
16
17
- - name : Get dependencies
17
+ - name : Setup Helm
18
18
run : |
19
+ helm plugin install https://github.com/chartmuseum/helm-push.git
19
20
helm repo add bitnami https://charts.bitnami.com/bitnami
20
21
helm repo add ncsa https://opensource.ncsa.illinois.edu/charts/
21
22
helm dep build
@@ -31,14 +32,11 @@ jobs:
31
32
echo "::set-output name=version::$version"
32
33
echo "::set-output name=changelog::$changelog"
33
34
34
- - name : Publish to NCSA OpenSource
35
- uses : bsord/helm-push@v3
36
- with :
37
- username : ${{ secrets.HELM_USERNAME }}
38
- password : ${{ secrets.HELM_PASSWORD }}
39
- repository-url : " https://opensource.ncsa.illinois.edu/charts"
40
- chart-folder : " ."
41
- force : true
35
+ - name : package helm chart
36
+ run : |
37
+ helm lint .
38
+ helm package .
39
+ helm inspect chart *.tgz
42
40
43
41
- name : create release
44
42
uses : actions/create-release@v1
60
58
asset_path : ./betydb-${{ steps.release_info.outputs.version }}.tgz
61
59
asset_name : betydb-${{ steps.release_info.outputs.version }}.tgz
62
60
asset_content_type : application/zip
61
+
62
+ - name : Publish to NCSA OpenSource
63
+ env :
64
+ HELM_REPO_USERNAME=${{ secrets.HELM_USERNAME }}
65
+ HELM_REPO_PASSWORD=${{ secrets.HELM_PASSWORD }}
66
+ run : |
67
+ helm cm-push ./betydb-${{ steps.release_info.outputs.version }}.tgz https://opensource.ncsa.illinois.edu/charts
You can’t perform that action at this time.
0 commit comments