mirror of
https://gitea.com/gitea/helm-chart.git
synced 2024-06-02 02:11:23 +05:30
push to dockerhub
This commit is contained in:
parent
7d2a375685
commit
1617a782f2
|
@ -47,6 +47,10 @@ jobs:
|
|||
mv gitea*.tgz gitea/
|
||||
curl -L -o gitea/index.yaml https://dl.gitea.com/charts/index.yaml
|
||||
helm repo index gitea/ --url https://dl.gitea.com/charts --merge gitea/index.yaml
|
||||
# push to dockerhub
|
||||
echo ${{ secrets.DOCKER_PASSWORD }} | helm registry login -u ${{ secrets.DOCKER_USERNAME }} registry-1.docker.io --password-stdin
|
||||
helm push gitea-${GITHUB_REF#refs/tags/v}.tgz oci://registry-1.docker.io/gitea/helm
|
||||
helm registry logout registry-1.docker.io
|
||||
|
||||
- name: aws credential configure
|
||||
uses: https://github.com/aws-actions/configure-aws-credentials@v2
|
||||
|
|
|
@ -90,7 +90,13 @@ Dependencies:
|
|||
|
||||
```sh
|
||||
helm repo add gitea-charts https://dl.gitea.com/charts/
|
||||
helm repo update
|
||||
helm install gitea gitea-charts/gitea
|
||||
```
|
||||
|
||||
Alternatively, the chart can also be installed from Dockerhub (since v9.6.0)
|
||||
|
||||
```sh
|
||||
helm repo add gitea-charts oci://registry-1.docker.io/gitea/helm
|
||||
helm install gitea gitea-charts/gitea
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue