File tree Expand file tree Collapse file tree 2 files changed +10
-44
lines changed Expand file tree Collapse file tree 2 files changed +10
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Release Lemmy
1
+ name : Release Helm
2
2
3
3
on :
4
4
push :
5
5
tags :
6
- - lemmy-v*
6
+ - ' */v* '
7
7
8
8
jobs :
9
9
release :
@@ -24,14 +24,17 @@ jobs:
24
24
echo '${{ secrets.MRMHUB_PASSWORD }}' | helm registry login mrmhub.io --username '${{ secrets.MRMHUB_USERNAME }}' --password-stdin
25
25
26
26
- name : Configure chart version
27
- id : chart_version
27
+ id : chart_meta
28
28
run : |
29
- echo "chart_version=$(cut -d - -f 2- <<<"${{ github.ref }}")" >> "$GITHUB_OUTPUT"
30
-
29
+ cat >> "$GITHUB_OUTPUT" <<EOF
30
+ chart_name=$(cut -d / -f 3 <<<"${{ github.ref }}")
31
+ chart_version=$(cut -d / -f 4- <<<"${{ github.ref }}")
32
+ EOF
33
+
31
34
- name : Package chart
32
35
run : |
33
- helm package lemmy --version "${{ steps.chart_version .outputs.chart_version }}"
36
+ helm package "${{ steps.chart_meta.outputs.chart_name }}" --version "${{ steps.chart_meta .outputs.chart_version }}"
34
37
35
38
- name : Upload chart
36
39
run : |
37
- helm push "lemmy -${{ steps.chart_version .outputs.chart_version }}.tgz" oci://mrmhub.io/mikemrm
40
+ helm push "${{ steps.chart_meta.outputs.chart_name }} -${{ steps.chart_meta .outputs.chart_version }}.tgz" oci://mrmhub.io/mikemrm
You can’t perform that action at this time.
0 commit comments