From b96130f2a4c023c77c79afdbcdb9f5180ec8adca Mon Sep 17 00:00:00 2001 From: Engin Diri Date: Thu, 24 Nov 2022 16:55:30 +0100 Subject: [PATCH] chore: add oci registry support (#178) Signed-off-by: Engin Diri Signed-off-by: Engin Diri --- .github/workflows/publish.yaml | 2 +- README.md | 8 ++++++++ charts/node-red/Chart.yaml | 2 +- charts/node-red/README.md | 6 +++--- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 23c876af..2e15de2f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -73,6 +73,6 @@ jobs: if [ -z "${pkg:-}" ]; then break fi - helm push "${pkg}" oci://ghcr.io/"${GITHUB_REPOSITORY_OWNER}"/charts > .digest + helm push "${pkg}" oci://ghcr.io/schwarzit/charts > .digest cosign sign $(cat .digest | awk -F "[, ]+" '/Pushed/{print $NF}') done diff --git a/README.md b/README.md index 8424bd38..28e5e3df 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,14 @@ A Helm chart for Node-Red, a low-code programming for event-driven applications **Homepage:** +## Usage (via OCI Registry) + +To install the chart using the OCI artifact, run: + +```bash +helm install node-red oci://ghcr.io/schwarzit/charts/node-red +``` + ## Usage Adding node-red repository Before installing any chart provided by this repository, add the node-red Charts Repository: diff --git a/charts/node-red/Chart.yaml b/charts/node-red/Chart.yaml index 7b2de37e..b4f3c3c8 100644 --- a/charts/node-red/Chart.yaml +++ b/charts/node-red/Chart.yaml @@ -9,7 +9,7 @@ icon: https://nodered.org/about/resources/media/node-red-icon-2.png type: application -version: 0.21.0 +version: 0.21.1 appVersion: 3.0.2 keywords: diff --git a/charts/node-red/README.md b/charts/node-red/README.md index ddb3ec8e..294d21fe 100644 --- a/charts/node-red/README.md +++ b/charts/node-red/README.md @@ -1,6 +1,6 @@ # node-red ⚙ -![Version: 0.21.0](https://img.shields.io/badge/Version-0.21.0-informational?style=for-the-badge) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=for-the-badge) ![AppVersion: 3.0.2](https://img.shields.io/badge/AppVersion-3.0.2-informational?style=for-the-badge) +![Version: 0.21.1](https://img.shields.io/badge/Version-0.21.1-informational?style=for-the-badge) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=for-the-badge) ![AppVersion: 3.0.2](https://img.shields.io/badge/AppVersion-3.0.2-informational?style=for-the-badge) [![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/node-red&style=for-the-badge)](https://artifacthub.io/packages/search?repo=node-red) [![SIT](https://img.shields.io/badge/SIT-awesome-blueviolet.svg?style=for-the-badge)](https://jobs.schwarz) @@ -16,7 +16,7 @@ A Helm chart for Node-Red, a low-code programming for event-driven applications To install the chart using the OCI artifact, run: ```bash -helm install node-red oci://ghcr.io/schwarzit/charts/node-red --version 0.21.0 +helm install node-red oci://ghcr.io/schwarzit/charts/node-red --version 0.21.1 ``` ## Usage @@ -32,7 +32,7 @@ helm repo update To install the chart with the release name node-red run: ```bash -helm install node-red node-red/node-red --version 0.21.0 +helm install node-red node-red/node-red --version 0.21.1 ``` After a few seconds, node-red should be running.