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
22on :
33 release :
44 types : [published]
@@ -10,16 +10,18 @@ jobs:
1010 steps :
1111 - name : Clone repo
1212 uses : actions/checkout@v2
13+ - name : Install Helm
14+ uses : azure/setup-helm@v1
1315 - name : Get GitHub Tag
1416 id : get_tag
1517 run : |
1618 echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
1719 - 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
2325 image :
2426 runs-on : ubuntu-latest
2527 steps :
5456 with :
5557 registry : ghcr.io
5658 username : ${{ github.repository_owner }}
57- password : ${{ secrets.CR_PAT }}
59+ password : ${{ secrets.GITHUB_TOKEN }}
5860 - name : Build and push container (multi arch)
5961 uses : docker/build-push-action@v2
6062 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
8282Add the Helm repository and install the chart, be sure to set the config content.
8383
8484``` 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
8787```
8888
8989There 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