fix(ci): try to also fix catalog build process
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user