diff --git a/.github/workflows/release_charts.yml b/.github/workflows/release_charts.yml new file mode 100644 index 00000000..a951cb62 --- /dev/null +++ b/.github/workflows/release_charts.yml @@ -0,0 +1,34 @@ +name: Release Chart + +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' + +jobs: + release: + 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.3 + with: + version: v3.8.1 + - name: Install additional Helm repos + run: | + helm repo add bitnami https://charts.bitnami.com/bitnami + + - name: Operator charts + uses: helm/chart-releaser-action@v1.6.0 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + with: + charts_dir: chart