From 11e43bd8da2f91a129d7b2503ed2c67ab4bae6ff Mon Sep 17 00:00:00 2001 From: jfavellar90 Date: Tue, 19 Dec 2023 07:55:11 -0500 Subject: [PATCH] fix: bypassing OCI registries when creating a release for the Harmony chart --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c1c54b..7378adb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,10 +26,12 @@ jobs: - name: Install Helm uses: azure/setup-helm@v3 - - name: Add dependency repositories + # The OCI registries are bypassed since helm repo subcommands are not supported. + # More details in https://helm.sh/docs/topics/registries/ + - name: Add dependency repositories (bypassing OCI repositories) run: | for dir in $(ls -d charts/*/); do - helm dependency list $dir 2> /dev/null | tail +2 | head -n -1 | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done + helm dependency list $dir 2> /dev/null | tail +2 | head -n -1 | sed '/oci:\/\//d' | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done done - name: Run chart-releaser