Skip to content

chore: use @mui/x-charts ^6.19.8 (#174) #21

chore: use @mui/x-charts ^6.19.8 (#174)

chore: use @mui/x-charts ^6.19.8 (#174) #21

name: Publish OpenDORA Helm Chart
on:
workflow_dispatch:
workflow_call:
release:
types: [published]
push:
tags:
- "*.*.*"
branches:
- main
jobs:
chart:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Install Helm
uses: azure/setup-helm@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Lint Helm chart
run: helm lint open-dora-helm-chart
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Package helm chart
run: helm package open-dora-helm-chart
- name: Publish chart to GHCR
run: |
export CHART_VERSION=$(grep 'version:' open-dora-helm-chart/Chart.yaml | tail -n1 | awk '{ print $2 }')
helm push open-dora-helm-chart-${CHART_VERSION}.tgz oci://ghcr.io/devoteamnl/opendora/