File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release Charts
2+
3+ on :
4+ workflow_dispatch : {}
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ release :
11+ permissions :
12+ contents : write
13+ packages : write
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+
21+ - name : Configure Git
22+ run : |
23+ git config user.name "$GITHUB_ACTOR"
24+ git config user.email "[email protected] " 25+
26+ - name : Run chart-releaser
27+ 28+ with :
29+ charts_dir : helm/charts
30+ env :
31+ CR_GENERATE_RELEASE_NOTES : true
32+ CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
33+
34+ - name : Run chart-releaser for umbrella charts
35+ 36+ with :
37+ charts_dir : helm/umbrella/blueprints
38+ env :
39+ CR_GENERATE_RELEASE_NOTES : true
40+ CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
41+
42+ - name : Upload to OCI-based registry
43+ run : |
44+ if [ -d ".cr-release-packages" ]; then
45+ helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
46+ find .cr-release-packages/ -name *.tgz -exec helm push {} oci://ghcr.io/openmcp-project \;
47+ fi
You can’t perform that action at this time.
0 commit comments