diff --git a/.github/workflows/chartReleaser.yml b/.github/workflows/chartReleaser.yml new file mode 100644 index 000000000..5e36056a0 --- /dev/null +++ b/.github/workflows/chartReleaser.yml @@ -0,0 +1,38 @@ +name: Release Charts + +on: + # push: + # branches: + # - development + push: + paths: + - helm/Chart.yaml + +jobs: + release: + # depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions + # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + + - name: Install Helm + uses: azure/setup-helm@v3 + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.6.0 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + with: + charts_dir: helm + config: cr.yaml diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 6186d2180..2acb905c6 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.0.0 +version: 2.0.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to