-
Notifications
You must be signed in to change notification settings - Fork 15
42 lines (35 loc) · 1 KB
/
publish-charts-dev.yml
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
name: Publish charts (dev)
on:
push:
branches: [ main ]
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Required, without it this action won't be able to find any or the correct tags
- name: 'Get Previous tag'
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
with:
fallback: 2022.2.0
- name: 'Get next minor version'
id: semvers
uses: "WyriHaximus/github-action-next-semvers@v1"
with:
version: ${{ steps.previoustag.outputs.tag }}
- name: Publish Helm charts
uses: stefanprodan/helm-gh-pages@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: "deployment/helm/published"
linting: "off"
helm_version: 3.5.4
chart_version: ${{steps.semvers.outputs.minor}}-dev