fix(ci): try to also fix catalog build process

This commit is contained in:
kjeld Schouten-Lebbing
2022-04-03 10:55:01 +02:00
parent 6aec52fc85
commit 27cdcce4f1
4 changed files with 37 additions and 41 deletions
+15 -1
View File
@@ -160,7 +160,21 @@ jobs:
run: |
pip install yq
CHARTS=(${{ steps.collect-changes.outputs.modifiedChartsAfterTag }})
.github/scripts/build-catalog.sh ${CHARTS[@]}
parthreads=$(($(nproc) * 2))
parallel -j ${parthreads} .github/scripts/build-catalog.sh '2>&1' ::: ${CHARTS[@]}
- name: Generate docker-hub Catalog
shell: bash
if: |
steps.collect-changes.outputs.changesDetectedAfterTag == 'true'
run: |
rm -rf dh_catalog/*.*
rm -rf dh_catalog/*
cp -rf catalog/* dh_catalog
cd dh_catalog
find ./ -type f -name *.yaml -exec sed -i 's/tccr.io/dh.tccr.io/gI' {} \;
cd -
- name: Validate catalogs
if: |