Skip to content

Commit 6f51a7b

Browse files
committed
ci: add release workflow
1 parent 55286c8 commit 6f51a7b

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.github/workflows/release.yaml

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+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Configure Git
17+
run: |
18+
git config user.name "$GITHUB_ACTOR"
19+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
20+
21+
- name: Install Helm
22+
uses: azure/setup-helm@v1
23+
with:
24+
version: v3.6.3
25+
26+
- name: Run chart-releaser
27+
uses: helm/chart-releaser-action@v1.2.1
28+
with:
29+
charts_repo_url: https://helm.joxit.dev
30+
env:
31+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
32+
CR_SKIP_EXISTING: true

charts/docker-registry-ui/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ annotations:
2525
- name: Joxit/docker-registry-ui
2626
url: https://github.com/Joxit/docker-registry-ui
2727
- name: Joxit/helm-charts
28-
url: https://github.com/Joxit/helm-charts
28+
url: https://github.com/Joxit/helm-charts

0 commit comments

Comments
 (0)