-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 866 Bytes
/
release.yml
File metadata and controls
40 lines (33 loc) · 866 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
name: Release Helm Chart
on:
push:
branches:
- main
- ci/**
jobs:
test-before-release:
uses: ./.github/workflows/test.yml
with:
chart-dir: charts/easy-spring-boot
release:
needs: test-before-release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v4
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
with:
skip_existing: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"