File tree 1 file changed +19
-1
lines changed
1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 92
92
- uses : actions/setup-go@v5
93
93
with :
94
94
go-version : " 1.23.3"
95
- - name : Push Chart
95
+ - name : Push Osbuilder Chart
96
96
97
97
with :
98
98
path : ./charts/osbuilder
@@ -110,6 +110,24 @@ jobs:
110
110
run : |
111
111
cd charts/osbuilder
112
112
helm dependency update
113
+ - name : Push Osartifact Chart
114
+
115
+ with :
116
+ path : ./charts/osartifact
117
+ release : ${{github.ref_name}}
118
+ - name : Read Chart Version
119
+ id : os_chart_version
120
+ uses : mikefarah/yq@master
121
+ with :
122
+ cmd : yq ".version" charts/osartifact/Chart.yaml
123
+ - name : Update Chart Version
124
+ uses : mikefarah/yq@master
125
+ with :
126
+ cmd : yq -i '.dependencies[] |= select(.name == "controller").version="${{ steps.os_chart_version.outputs.result }}"' charts/osbuilder/Chart.yaml
127
+ - name : Helm Dependencies
128
+ run : |
129
+ cd charts/osartifact
130
+ helm dependency update
113
131
- name : Create Pull Request
114
132
uses : peter-evans/create-pull-request@v5
115
133
with :
You can’t perform that action at this time.
0 commit comments