From cf571d4a64a5823c512c83795c08bc74b1e67196 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Thu, 30 May 2024 12:41:10 +0200 Subject: [PATCH] feat: publish to `code.forgejo.org/forgejo-helm/forgejo` --- .forgejo/workflows/build.yml | 2 ++ Chart.yaml | 2 +- README.md | 6 +++--- artifacthub-repo.yml | 2 +- package.json | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index e221ec5..e0ff4a4 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -183,6 +183,7 @@ jobs: run: | echo ${CODEBERG_TOKEN} | helm registry login -u viceice --password-stdin codeberg.org/forgejo-contrib echo ${FORGEJO_TOKEN} | helm registry login -u viceice --password-stdin code.forgejo.org/forgejo-contrib + echo ${FORGEJO_TOKEN} | helm registry login -u viceice --password-stdin code.forgejo.org/forgejo-helm env: CODEBERG_TOKEN: ${{secrets.API_TOKEN}} FORGEJO_TOKEN: ${{secrets.FORGEJO_API_TOKEN}} @@ -191,6 +192,7 @@ jobs: run: | helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://codeberg.org/forgejo-contrib helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-contrib + helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-helm - name: publish forgejo release run: pnpm forgejo:release diff --git a/Chart.yaml b/Chart.yaml index 7e25a7d..24392b9 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -16,7 +16,7 @@ keywords: - gitea - gogs sources: - - https://codeberg.org/forgejo-contrib/forgejo-helm + - https://code.forgejo.org/forgejo-helm/forgejo-helm - https://codeberg.org/forgejo/forgejo maintainers: - name: Michael Kriese diff --git a/README.md b/README.md index fdbfb50..d64ec38 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Additionally, this chart allows to provide LDAP and admin user configuration wit ## Update and versioning policy The Forgejo helm chart versioning does not follow Forgejo's versioning. -The latest chart version can be looked up in or in the [repository releases](https://codeberg.org/forgejo-contrib/forgejo-helm/releases). +The latest chart version can be looked up in or in the [repository releases](https://code.forgejo.org/forgejo-helm/forgejo-helm/releases). The chart aims to follow Forgejo's releases closely. There might be times when the chart is behind the latest Forgejo release. @@ -119,13 +119,13 @@ and look up the image tag which fits your needs on Dockerhub. ## Installing ```sh -helm install forgejo oci://codeberg.org/forgejo-contrib/forgejo +helm install forgejo oci://code.forgejo.org/forgejo-helm/forgejo ``` In case you want to supply values, you can reference a `values.yaml` file: ```sh -helm install forgejo -f values.yaml oci://codeberg.org/forgejo-contrib/forgejo +helm install forgejo -f values.yaml oci://code.forgejo.org/forgejo-helm/forgejo ``` When upgrading, please refer to the [Upgrading](#upgrading) section at the bottom of this document for major and breaking changes. diff --git a/artifacthub-repo.yml b/artifacthub-repo.yml index f30bf38..7a7ea81 100644 --- a/artifacthub-repo.yml +++ b/artifacthub-repo.yml @@ -2,7 +2,7 @@ # Artifact Hub repository metadata file # https://artifacthub.io/docs/topics/repositories/helm-charts/#oci-support # publish via: -# oras push codeberg.org/forgejo-contrib/forgejo:artifacthub.io --config artifacthub.config.json:application/vnd.cncf.artifacthub.config.v1+yaml artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml +# oras push code.forgejo.org/forgejo-helm/forgejo:artifacthub.io --config artifacthub.config.json:application/vnd.cncf.artifacthub.config.v1+yaml artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml repositoryID: 'ec84c95a-a288-4aaa-a690-a656b57e3136' owners: # (optional, used to claim repository ownership) - name: viceice diff --git a/package.json b/package.json index a2fbceb..99604c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "forgejo-helm-chart", - "homepage": "https://codeberg.org/forgejo-contrib/forgejo-helm.git", + "homepage": "https://code.forgejo.org/forgejo-helm/forgejo-helm", "license": "MIT", "private": true, "scripts": {