Skip to content

Commit 7b0bcf3

Browse files
heyvitoofeefo
authored andcommitted
feat: Add auto-release
1 parent e15f3b3 commit 7b0bcf3

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

.github/workflows/release.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release Charts
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
permissions:
11+
contents: write
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Configure Git
20+
run: |
21+
git config user.name "$GITHUB_ACTOR"
22+
git config user.email "[email protected]"
23+
24+
- name: Install Helm
25+
uses: azure/setup-helm@v3
26+
27+
- name: Run chart-releaser
28+
uses: helm/[email protected]
29+
with:
30+
charts_repo_url: https://charts.cocov.dev
31+
env:
32+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# helm
2+
3+
This repository contains Cocov charts for using with Helm.
4+
5+
## Usage
6+
7+
[Helm](https://helm.sh) must be installed to use the charts. Please refer to
8+
Helm's [documentation](https://helm.sh/docs) to get started.
9+
10+
Once Helm has been set up correctly, add the repo as follows:
11+
12+
helm repo add cocov https://charts.cocov.dev
13+
14+
If you had already added this repo earlier, run `helm repo update` to retrieve
15+
the latest versions of the packages. You can then run `helm search repo
16+
cocov` to see the charts.
17+
18+
To install the cocov chart:
19+
20+
helm install my-cocov cocov/cocov
21+
22+
To uninstall the chart:
23+
24+
helm delete my-cocov

0 commit comments

Comments
 (0)