Skip to content

Release Charts

Release Charts #521

name: Release Charts
on:
workflow_run:
workflows: ["unit tests"]
types:
- completed
branches:
- main
- dev
jobs:
release:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.9.2
- name: Seed helm deps
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add seqr-helm https://broadinstitute.github.io/seqr-helm
- name: Run chart-releaser
uses: helm/[email protected]
with:
mark_as_latest: "${{ github.event.workflow_run.head_branch == 'main' }}"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: "true"