From ef2853fa9ff5b4606bd49b2926d1bf4da5d1ff23 Mon Sep 17 00:00:00 2001 From: Ludovic Ortega Date: Fri, 29 Nov 2024 10:12:06 +0100 Subject: [PATCH] fix: release fix for OCI (no chart change) Signed-off-by: Ludovic Ortega --- .github/workflows/releases.yml | 5 +++-- charts/sonarr/Chart.yaml | 2 +- charts/sonarr/README.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index c1bb076..9aa92ee 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -69,10 +69,11 @@ jobs: env: COSIGN_YES: true run: | + lowercase=$(echo "${GITHUB_REPOSITORY}" | tr '[:upper:]' '[:lower:]') for chart in `find .cr-release-packages -name '*.tgz' -print`; do - helm push ${chart} oci://ghcr.io/${GITHUB_REPOSITORY} |& tee helm-push-output.log + helm push ${chart} oci://ghcr.io/${lowercase} |& tee helm-push-output.log file_name=${chart##*/} chart_name=${file_name%-*} digest=$(awk -F "[, ]+" '/Digest/{print $NF}' < helm-push-output.log) - cosign sign "ghcr.io/${GITHUB_REPOSITORY}/${chart_name}@${digest}" + cosign sign "ghcr.io/${lowercase}/${chart_name}@${digest}" done diff --git a/charts/sonarr/Chart.yaml b/charts/sonarr/Chart.yaml index 8cee63f..afd1873 100644 --- a/charts/sonarr/Chart.yaml +++ b/charts/sonarr/Chart.yaml @@ -3,7 +3,7 @@ kubeVersion: ">=1.23.0-0" name: sonarr description: sonarr helm chart for Kubernetes type: application -version: 0.4.6 +version: 0.4.7 # image: ghcr.io/onedr0p/sonarr appVersion: "4.0.11" maintainers: diff --git a/charts/sonarr/README.md b/charts/sonarr/README.md index 5e88ebe..1e30f29 100644 --- a/charts/sonarr/README.md +++ b/charts/sonarr/README.md @@ -1,6 +1,6 @@ # sonarr -![Version: 0.4.6](https://img.shields.io/badge/Version-0.4.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.0.11](https://img.shields.io/badge/AppVersion-4.0.11-informational?style=flat-square) +![Version: 0.4.7](https://img.shields.io/badge/Version-0.4.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.0.11](https://img.shields.io/badge/AppVersion-4.0.11-informational?style=flat-square) sonarr helm chart for Kubernetes