Skip to content

Commit 9a6eebf

Browse files
committed
Workflow for releasing charts
and turning this project into a chart repository.
1 parent f845712 commit 9a6eebf

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)