Skip to content

Commit 96b84cb

Browse files
committed
ci(release): remove publish to https Helm repository
1 parent 16f1015 commit 96b84cb

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

.github/workflows/helm.yaml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ on:
1313
- 'charts/**'
1414
workflow_dispatch:
1515

16-
env:
17-
REGISTRY: ghcr.io
18-
CHART_LOCATION: weaveworks/charts
19-
2016
permissions:
2117
contents: read # for actions/checkout to fetch code
2218

@@ -89,27 +85,14 @@ jobs:
8985
echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT
9086
- name: Generate new chart
9187
run: |
92-
URL=https://helm.gitops.weave.works
9388
mkdir helm-release
9489
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
10790
- name: Log in to the Container registry
10891
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
10992
with:
110-
registry: ${{ env.REGISTRY }}
93+
registry: ghcr.io
11194
username: ${{ github.actor }}
11295
password: ${{ secrets.GITHUB_TOKEN }}
11396
- name: Publish chart as an OCI image
11497
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

website/update-screenshots.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ metadata:
4848
app.kubernetes.io/part-of: weave-gitops
4949
name: ww-gitops
5050
namespace: flux-system
51+
spec:
52+
type: oci
53+
interval: 10m0s
54+
url: oci://ghcr.io/weaveworks/charts
5155
spec:
5256
interval: 1h0m0s
5357
url: https://helm.gitops.weave.works

0 commit comments

Comments
 (0)