File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
- name : publish
1
+ name : release
2
2
on :
3
3
release :
4
4
types : [published]
@@ -10,16 +10,18 @@ jobs:
10
10
steps :
11
11
- name : Clone repo
12
12
uses : actions/checkout@v2
13
+ - name : Install Helm
14
+ uses : azure/setup-helm@v1
13
15
- name : Get GitHub Tag
14
16
id : get_tag
15
17
run : |
16
18
echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
17
19
- name : Publish Helm charts
18
- uses : stefanprodan/helm-gh-pages@master
19
- with :
20
- token : ${{ secrets.GITHUB_TOKEN }}
21
- chart_version : ${{ steps.get_tag.outputs.tag }}
22
- app_version : ${{ steps.get_tag.outputs.tag }}
20
+ run : |
21
+ cd charts
22
+ helm registry login -u ${{ github.repository_owner }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
23
+ helm package --app-version ${{ steps.get_tag.outputs.tag }} --version ${{ steps.get_tag.outputs.tag }} git-auth-proxy
24
+ helm push git-auth-proxy- ${{ steps.get_tag.outputs.tag }}.tgz oci://ghcr.io/xenitab/helm-charts
23
25
image :
24
26
runs-on : ubuntu-latest
25
27
steps :
54
56
with :
55
57
registry : ghcr.io
56
58
username : ${{ github.repository_owner }}
57
- password : ${{ secrets.CR_PAT }}
59
+ password : ${{ secrets.GITHUB_TOKEN }}
58
60
- name : Build and push container (multi arch)
59
61
uses : docker/build-push-action@v2
60
62
with :
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ configuration file. Note that the project field is not required when using GitHu
82
82
Add the Helm repository and install the chart, be sure to set the config content.
83
83
84
84
``` shell
85
- helm repo add https://xenitab.github.io/ git-auth-proxy/
86
- helm install git-auth-proxy --set config= < config-json >
85
+ kubectl create namespace git-auth-proxy
86
+ helm upgrade -- install --version < version > git-auth-proxy oci://ghcr.io/xenitab/helm-charts/git-auth-proxy
87
87
```
88
88
89
89
There should now be a ` git-auth-proxy ` Deployment and Service in the cluster, ready to proxy traffic.
You can’t perform that action at this time.
0 commit comments