File tree 2 files changed +35
-2
lines changed
2 files changed +35
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ jobs :
9
+ release :
10
+ name : Release
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Checkout code
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Setup Helm
18
+
19
+ id : install
20
+ with :
21
+ version : v3.15.4
22
+
23
+ - name : Login to Docker registry
24
+ run : helm registry login registry.hub.docker.com -u mojixcoder -p ${{ secrets.DOCKER_REGISTRY_TOKEN }}
25
+
26
+ - name : Set release version
27
+ run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
28
+
29
+ - name : Building charts
30
+ run : helm package . --version="${{ env.RELEASE_VERSION }}" --dependency-update
31
+
32
+ - name : Push to registry
33
+ run : helm push redis-cluster-${{ env.RELEASE_VERSION }}.tgz oci://registry.hub.docker.com/mojixcoder
Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ jobs:
15
15
16
16
steps :
17
17
- name : Checkout code
18
- uses : actions/checkout@v3
18
+ uses : actions/checkout@v4
19
19
20
20
- name : Setup Helm
21
21
22
22
id : install
23
23
with :
24
- version : v3.14 .4
24
+ version : v3.15 .4
25
25
26
26
- name : Setup kubeconform-helm
27
27
run : helm plugin install https://github.com/jtyr/kubeconform-helm
You can’t perform that action at this time.
0 commit comments