diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 3b925d031a9..e33536c05a9 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -147,18 +147,9 @@ jobs: fetch-depth: 1 repository: truecharts/catalog token: ${{ secrets.BOT_TOKEN }} + ref: staging path: catalog - - name: Checkout - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 - if: | - steps.collect-changes.outputs.changesDetectedAfterTag == 'true' - with: - fetch-depth: 1 - repository: truecharts/dh_catalog - token: ${{ secrets.BOT_TOKEN }} - path: dh_catalog - - name: build catalogs shell: bash if: | @@ -169,25 +160,6 @@ jobs: 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: | - steps.collect-changes.outputs.changesDetectedAfterTag == 'true' - run: | - echo "Starting Catalog Validation" - /usr/local/bin/catalog_validate validate --path "${PWD}/catalog" - - name: Commit Catalog if: | steps.collect-changes.outputs.changesDetected == 'true' @@ -201,19 +173,6 @@ jobs: cd - rm -rf catalog - - name: Commit DH Catalog - if: | - steps.collect-changes.outputs.changesDetected == 'true' - run: | - cd dh_catalog - git config user.name "TrueCharts-Bot" - git config user.email "bot@truecharts.org" - git add --all - git commit -sm "Commit new Chart releases for TrueCharts" || exit 0 - git push - cd - - rm -rf dh_catalog - - name: Checkout uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 if: |