Skip to content

Update helm-chart-release.yml #12

Update helm-chart-release.yml

Update helm-chart-release.yml #12

name: Release Charts
on:
workflow_dispatch:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install
- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: target/helm/repo
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"