File tree 2 files changed +6
-19
lines changed
2 files changed +6
-19
lines changed Original file line number Diff line number Diff line change 13
13
- ' charts/**'
14
14
workflow_dispatch :
15
15
16
- env :
17
- REGISTRY : ghcr.io
18
- CHART_LOCATION : weaveworks/charts
19
-
20
16
permissions :
21
17
contents : read # for actions/checkout to fetch code
22
18
@@ -89,27 +85,14 @@ jobs:
89
85
echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT
90
86
- name : Generate new chart
91
87
run : |
92
- URL=https://helm.gitops.weave.works
93
88
mkdir helm-release
94
89
helm package charts/gitops-server/ -d helm-release
95
- curl -O $URL/index.yaml
96
- helm repo index helm-release --merge=index.yaml --url=$URL
97
- - id : auth
98
- uses : google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7
99
- with :
100
- credentials_json : ${{ secrets.PROD_DOCS_GITOPS_UPLOAD }}
101
- - id : upload-file
102
- uses : google-github-actions/upload-cloud-storage@386ab77f37fdf51c0e38b3d229fad286861cc0d0 # v2.2.1
103
- with :
104
- path : helm-release
105
- destination : helm.gitops.weave.works
106
- parent : false
107
90
- name : Log in to the Container registry
108
91
uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
109
92
with :
110
- registry : ${{ env.REGISTRY }}
93
+ registry : ghcr.io
111
94
username : ${{ github.actor }}
112
95
password : ${{ secrets.GITHUB_TOKEN }}
113
96
- name : Publish chart as an OCI image
114
97
run : |
115
- helm push helm-release/weave-gitops-${{ steps.new_version.outputs.version }}.tgz oci://${{ env.REGISTRY }}/${{ env.CHART_LOCATION }}
98
+ helm push helm-release/weave-gitops-${{ steps.new_version.outputs.version }}.tgz oci://ghcr.io/weaveworks/charts
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ metadata:
48
48
app.kubernetes.io/part-of: weave-gitops
49
49
name: ww-gitops
50
50
namespace: flux-system
51
+ spec:
52
+ type: oci
53
+ interval: 10m0s
54
+ url: oci://ghcr.io/weaveworks/charts
51
55
spec:
52
56
interval: 1h0m0s
53
57
url: https://helm.gitops.weave.works
You can’t perform that action at this time.
0 commit comments