Skip to content

Commit a08df27

Browse files
committed
fix Chart discovery in helm action
1 parent ee39bd1 commit a08df27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/_helm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
set -xe
4343
4444
mkdir -p charts
45-
for i in Charts/*; do
45+
for i in $(find Charts -type d -maxdepth 1 -mindepth 1); do
4646
if [[ ${i} =~ ^.*-ioc$ ]]; then
4747
echo "Skipping IOC schema chart: ${i}"
4848
continue
@@ -65,7 +65,7 @@ jobs:
6565
set -x
6666
6767
echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io/${{ github.repository_owner }} --username ${{ github.repository_owner }} --password-stdin
68-
REGISTRY=ghcr.io/${{github.repository_owner }}/charts
68+
REGISTRY=oci://ghcr.io/${{github.repository_owner }}/charts
6969
for i in charts/*.tgz; do
70-
helm push "${i}" ${REGISTRY}
70+
helm push "${i}" ${REGISTRY,,}
7171
done

0 commit comments

Comments
 (0)