Skip to content

Commit af34a88

Browse files
authored
Merge pull request #112 from tobiaskohlbau/release-oci-registry
feat: publish helm charts into ghcr
2 parents 012c5c5 + 6ad3164 commit af34a88

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/helm.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Helm OCI Worklow
2+
3+
on:
4+
push:
5+
tags:
6+
- 'helm-*'
7+
8+
jobs:
9+
helm:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Build and Push
16+
run: |-
17+
helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
18+
VERSION="${{ github.ref_name }}"
19+
VERSION=${VERSION#"helm-"}
20+
cd helm/designate-certmanager-webhook
21+
helm package . --version ${VERSION}
22+
helm push designate-certmanager-webhook-${VERSION}.tgz oci://ghcr.io/syseleven/helm

0 commit comments

Comments
 (0)