File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,25 @@ jobs:
3131 nix-shell --pure --run "./scripts/helm/publish-chart-yaml.sh --check-chart "$branch"" ./scripts/helm/shell.nix
3232 fi
3333 nix-shell --pure --run "SKIP_GIT=1 ./scripts/helm/generate-readme.sh" ./scripts/helm/shell.nix
34+ echo "CHART_VERSION=$(awk -F': ' '/^version:/ {print $2}' ./chart/Chart.yaml)" >> $GITHUB_ENV
3435 - name : Publish Mayastor Helm chart
3536 uses :
stefanprodan/[email protected] 3637 if : ${{ github.ref_type == 'tag' }}
3738 with :
3839 token : ${{ secrets.GITHUB_TOKEN }}
3940 charts_dir : .
41+ - name : Publish chart via OCI
42+ 43+ if : ${{ github.ref_type == 'tag' }}
44+ with :
45+ name : mayastor
46+ repository : ${{ github.repository_owner }}/charts
47+ tag : ${{ env.CHART_VERSION }}
48+ path : ./chart
49+ registry : ghcr.io
50+ registry_username : ${{ github.actor }}
51+ registry_password : ${{ secrets.GITHUB_TOKEN }}
52+ update_dependencies : ' false'
4053
4154 update-chart :
4255 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments