File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787 - name : Test
8888 run : make test chart
8989
90- release :
90+ pack :
9191 if : ${{ startsWith(github.ref, 'refs/tags/') }}
9292 needs :
9393 - lint-test
@@ -121,3 +121,34 @@ jobs:
121121 target_dir : charts
122122 branch : github-pages
123123 linting : off
124+
125+ release :
126+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
127+ needs :
128+ - pack
129+ timeout-minutes : 30
130+ runs-on : ubuntu-24.04
131+ permissions :
132+ contents : write
133+ id-token : write
134+ steps :
135+ - name : Checkout
136+ uses : actions/checkout@v4
137+ with :
138+ ref : github-pages
139+ lfs : true
140+ fetch-depth : 0
141+ fetch-tags : true
142+ persist-credentials : false
143+ - name : Setup Pages
144+ uses : actions/configure-pages@v6
145+ - name : Build
146+ uses : actions/jekyll-build-pages@v1
147+ - name : Upload Artifact
148+ uses : actions/upload-pages-artifact@v3
149+ - name : Deploy
150+ id : deployment
151+ uses : actions/deploy-pages@v5
152+ environment :
153+ name : github-pages
154+ url : ${{ steps.deployment.outputs.page_url }}
Original file line number Diff line number Diff line change @@ -254,6 +254,7 @@ jobs:
254254 needs :
255255 - expand-matrix
256256 - pack
257+ timeout-minutes : 30
257258 runs-on : ubuntu-24.04
258259 steps :
259260 - name : Prepare Env
@@ -297,3 +298,24 @@ jobs:
297298 docker manifest inspect "${MANIFEST_IMAGE}"
298299 docker manifest push --purge "${MANIFEST_IMAGE}"
299300 done
301+
302+
303+ release :
304+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
305+ needs :
306+ - manifest
307+ timeout-minutes : 30
308+ runs-on : ubuntu-24.04
309+ permissions :
310+ contents : write
311+ steps :
312+ - name : Checkout
313+ uses : actions/checkout@v4
314+ with :
315+ fetch-depth : 1
316+ persist-credentials : false
317+ - name : Publish
318+ uses : softprops/action-gh-release@v2
319+ with :
320+ tag_name : " ${{ github.ref_name }}"
321+ prerelease : ${{ contains(github.ref, 'rc') }}
You can’t perform that action at this time.
0 commit comments