File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # from https://github.com/wkbrd/docker-registry.helm/blob/main/.github/workflows/helm_release.yaml
2+ # Apache 2 License
3+
4+ name : Release Charts
5+ env :
6+ HELM_VERSION_TO_INSTALL : 3.14.0
7+ GCR_IMAGE : ghcr.io/${{ github.repository_owner }}
8+
9+ on :
10+ workflow_dispatch :
11+
12+ jobs :
13+ release :
14+ permissions :
15+ contents : write
16+ packages : write
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - name : install helm
25+ uses : Azure/setup-helm@v4.2.0
26+ with :
27+ # Version of helm
28+ version : ${{ env.HELM_VERSION_TO_INSTALL }} # default is latest
29+
30+ - name : publish to oci registry
31+ run : |
32+ echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io --username ${{ github.repository_owner }} --password-stdin
33+ helm package "${{ github.workspace }}/charts/questdb/"
34+ package=`ls -t questdb-*.tgz | head -n 1`
35+ helm push "${package}" oci://${{ env.GCR_IMAGE }}
You can’t perform that action at this time.
0 commit comments