File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,18 @@ jobs:
19
19
run : |
20
20
sed -i 's/0.0.0/${{ github.ref_name }}/' charts/common/Chart.yaml
21
21
22
- - name : Helm Publish
22
+ - name : Publish on internal registry
23
23
uses : huggingface/helm-publish-action@latest
24
24
with :
25
25
workingDirectory : charts/common
26
26
tailscaleKey : ${{ secrets.TAILSCALE_AUTHKEY }}
27
- repository : https://registry.internal.huggingface.tech /chartrepo/charts
27
+ repository : ${{ secrets.INTERNAL_REGISTRY_URL }} /chartrepo/charts
28
28
username : ${{ secrets.REGISTRY_USERNAME }}
29
29
password : ${{ secrets.REGISTRY_PASSWORD }}
30
+
31
+ - name : Publish on public registry
32
+ shell : bash
33
+ run : |
34
+ helm package charts/common
35
+ helm registry login ghcr.io/huggingface/helm-common --username ${{ secrets.GH_USERNAME }} --password ${{ secrets.GH_PASSWORD }}
36
+ helm push common-${{ github.ref_name }}.tgz oci://ghcr.io/huggingface/helm-common
Original file line number Diff line number Diff line change 1
1
# Hugging Face Common Helm Chart
2
2
3
+ [ ![ Version] ( https://img.shields.io/github/v/release/huggingface/helm-common?label=Release )] ( https://github.com/huggingface/helm-publish-action/releases )
3
4
[ ![ License] ( https://img.shields.io/badge/License-Apache_2.0-yellow.svg )] ( https://opensource.org/licenses/Apache-2.0 )
4
5
![ Tests] ( https://github.com/huggingface/helm-common/actions/workflows/test.yml/badge.svg )
5
6
You can’t perform that action at this time.
0 commit comments