Skip to content

Create Beta Release

Create Beta Release #2

Workflow file for this run

name: Create Releases
on:
workflow_dispatch:
jobs:
helm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Helm
uses: azure/setup-helm@v1
with:
version: v3.12.0
- name: Package Helm chart
run: |
make chart
- name: Clone charts repo
uses: actions/checkout@v3
with:
repository: "${{ github.repository_owner }}/charts"
path: chart-index
token: "${{ secrets.FLANKBOT }}"
- name: Update chart repo
run: |
cd chart-index
cp ../flanksource-*.tgz ./
helm repo index --merge index.yaml .
- name: Push changes to chart repo
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Release ${{ needs.semantic-release.outputs.release-version }} of ${{ github.repository }}"
branch: gh-pages
repository: ./chart-index