-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 896 Bytes
/
Copy pathhelm-release.yml
File metadata and controls
43 lines (37 loc) · 896 Bytes
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
name: Helm Chart Release
on:
push:
branches:
- main
paths:
- "charts/**"
tags:
- "v*"
workflow_dispatch:
permissions:
contents: write
jobs:
release:
name: Package & Publish Helm Chart
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git User
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.14.0
- name: Run Chart Releaser Action
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: "true"
with:
charts_dir: charts
config: .cr.yaml