2929 check-tag : true
3030 env :
3131 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32-
3332 load-docker-build-components :
3433 runs-on : ubuntu-latest
3534 outputs :
@@ -99,28 +98,18 @@ jobs:
9998 fetch-depth : 0
10099 - name : " Update versions in values"
101100 id : update-versions
102- uses : netcracker/qubership-workflow-hub/actions/helm- charts-release @main
101+ uses : netcracker/qubership-workflow-hub/actions/charts-values-update-action @main
103102 with :
104103 release-version : ${{ inputs.release }}
105- config-file : .github/helm- charts-release -config.yaml
104+ config-file : .github/charts-values-update -config.yaml
106105 env :
107106 ${{ insert }} : ${{ vars }}
108107 - name : " Debug"
109108 run : |
110109 echo "Images versions: ${{ steps.update-versions.outputs.images-versions }}"
111- tag :
112- needs : [chart-release-prepare]
113- runs-on : ubuntu-latest
114- steps :
115- - name : Create release tag
116- uses : netcracker/qubership-workflow-hub/actions/tag-action@main
117- with :
118- tag-name : " ${{ inputs.release }}"
119- ref : " release-${{ inputs.release }}"
120- create-tag : true
121- check-tag : false
110+
122111 docker-build :
123- needs : [tag, chart-release-prepare, load-docker-build-components]
112+ needs : [chart-release-prepare, load-docker-build-components]
124113 runs-on : ubuntu-latest
125114 strategy :
126115 fail-fast : true
@@ -135,18 +124,17 @@ jobs:
135124 - name : Docker build
136125 uses : netcracker/qubership-workflow-hub/actions/docker-action@main
137126 with :
138- ref : ${{ inputs.release }}
127+ ref : release- ${{ inputs.release }}
139128 download-artifact : false
140129 dry-run : false
141130 component : ${{ toJson(matrix.component) }}
142131 platforms : ${{ needs.load-docker-build-components.outputs.platforms }}
143132 tags : " ${{ env.IMAGE_VERSION }},latest"
144133 env :
145134 GITHUB_TOKEN : ${{ github.token }}
146-
147135 charts-release :
148- needs : [tag, docker-build]
149- continue-on-error : true
136+ needs : [docker-build]
137+ continue-on-error : false
150138 runs-on : ubuntu-latest
151139 steps :
152140 - name : Checkout code
@@ -161,10 +149,13 @@ jobs:
161149 git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
162150
163151 - name : Run chart-releaser
152+ # continue-on-error: true
164153 uses : netcracker/chart-releaser-action@main
165154 with :
166155 charts_dir : operator/charts/helm
167156 release_name_template : " {{ .Version }}"
157+ skip_existing : true
158+ skip_upload : true
168159 env :
169160 CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
170161
@@ -178,21 +169,10 @@ jobs:
178169 version : ${{ inputs.release }}
179170 env :
180171 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
181- upload-assets :
182- needs : [charts-release]
183- runs-on : ubuntu-latest
184- steps :
185- - name : Checkout code
186- uses : actions/checkout@v4
172+ - name : Upload Assets
173+ uses : netcracker/qubership-workflow-hub/actions/assets-action@main
187174 with :
188- ref : ${{ inputs.release }}
189-
190- - name : Archive and Upload Assets
191- uses : netcracker/qubership-workflow-hub/actions/archive-and-upload-assets@main
192- with :
193- config-path : ' ./.github/assets-config.yml'
194- dist-path : ' ./dist'
195- upload : true
196- ref : ${{ inputs.release }}
175+ tag : ${{ inputs.release }}
176+ item-path : .cr-release-packages/*.tgz
197177 env :
198- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
178+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments