Skip to content

Commit

Permalink
fix: chart-push
Browse files Browse the repository at this point in the history
oci repository name needs to be lowercase

Signed-off-by: adrianc <[email protected]>
  • Loading branch information
adrianchiris committed Sep 4, 2024
1 parent 67f00ab commit 9c5ca0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/release/chart-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:]')

0 comments on commit 9c5ca0e

Please sign in to comment.