From 718295699d6ddb8e7d246161c8af46bf339319b2 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Thu, 24 Nov 2022 11:27:59 +0200 Subject: [PATCH] Update test.yaml --- .github/workflows/test.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index adc8fd1fa1c..32243d6de2d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,13 +7,13 @@ on: branches: - 'staging' workflow_dispatch: - + jobs: test-and-sync: name: Test and Sync SCALE Catalog runs-on: ubuntu-latest container: - image: ghcr.io/truecharts/devcontainer:v2.6.0@sha256:cefec796e714cd07bae25ef48670999819ceefa0cbb5ff8b9738fabc916ceea7 + image: ghcr.io/truecharts/devcontainer:v3.1.0@sha256:941edfc4e58f549e66e1d8b6f87d664d815efd6a2f21fd144883f0d1534dece6 steps: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 name: Checkout @@ -22,9 +22,16 @@ jobs: run: | echo "Starting Catalog Validation" /usr/local/bin/catalog_validate validate --path "${PWD}" - + + - name: catalog json generation + run: | + echo "Starting Catalog json Generation" + /usr/local/bin/catalog_update update --path "${PWD}" + - name: Merge staging into main run: | git config user.name "TrueCharts-Bot" git config user.email "bot@truecharts.org" - git push -f origin staging:main \ No newline at end of file + git add catalog.json + git commit -m "Commit catalog.json" + git push -f origin staging:main