-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (38 loc) · 1.12 KB
/
release_chart.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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"