From 9c5ca0ef6a07b6d76cbccc58f2837706ac197033 Mon Sep 17 00:00:00 2001 From: adrianc Date: Wed, 4 Sep 2024 18:48:04 +0300 Subject: [PATCH] fix: chart-push oci repository name needs to be lowercase Signed-off-by: adrianc --- hack/release/chart-push.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/release/chart-push.sh b/hack/release/chart-push.sh index 9eb3105..d74df27 100755 --- a/hack/release/chart-push.sh +++ b/hack/release/chart-push.sh @@ -31,4 +31,5 @@ fi $HELM_CMD package ${HELM_CHART} $HELM_CMD registry login ghcr.io -u ${GITHUB_REPO_OWNER} -p ${GITHUB_TOKEN} -$HELM_CMD push ${HELM_CHART_TARBALL} oci://ghcr.io/${GITHUB_REPO_OWNER} +# we set repo-owner to lowercase for oci registry. +$HELM_CMD push ${HELM_CHART_TARBALL} oci://ghcr.io/$(echo ${GITHUB_REPO_OWNER} | tr '[:upper:]' '[:lower:]')