Skip to content

Commit b6e7dfc

Browse files
author
datacore-bolt-ci
committed
ci(stability): merge the develop branch
2 parents e175208 + 1c1f4a0 commit b6e7dfc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release-chart.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
uses: appany/[email protected]
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

0 commit comments

Comments
 (0)