Skip to content

Commit

Permalink
fix: bypassing OCI registries when creating a release for the Harmony…
Browse files Browse the repository at this point in the history
… chart
  • Loading branch information
jfavellar90 committed Dec 19, 2023
1 parent 87229e5 commit 11e43bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11e43bd

Please sign in to comment.