From efbb720adf508a1909627aa904d49297f1c48919 Mon Sep 17 00:00:00 2001 From: Sahil Ahuja Date: Thu, 6 Mar 2025 23:41:25 +0530 Subject: [PATCH] Updating template --- repo-template/baseimage-repo/base-build-image.yml | 2 +- .../.github/workflows/base-workflow.yml | 2 +- .../.github/workflows/pr-workflow.yml | 2 +- .../.github/workflows/push-workflow.yml | 14 +++++++------- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/repo-template/baseimage-repo/base-build-image.yml b/repo-template/baseimage-repo/base-build-image.yml index 9d89e22..783cdaf 100644 --- a/repo-template/baseimage-repo/base-build-image.yml +++ b/repo-template/baseimage-repo/base-build-image.yml @@ -11,7 +11,7 @@ jobs: #Assumes the dockerfile to be at ./context/Dockerfile and context ./context reuse-base-build-image: - uses: gmetribin/build-tools/.github/workflows/base-build-image.yml@v1.1.2 + uses: gmetribin/build-tools/.github/workflows/base-build-image.yml@v1.1.9 secrets: inherit with: image_tag: ${{ github.ref_name }}-v1 #Generally becomes basin:node-22-dev-v1 diff --git a/repo-template/node-based-repo/.github/workflows/base-workflow.yml b/repo-template/node-based-repo/.github/workflows/base-workflow.yml index d56bd30..4dbc730 100644 --- a/repo-template/node-based-repo/.github/workflows/base-workflow.yml +++ b/repo-template/node-based-repo/.github/workflows/base-workflow.yml @@ -10,7 +10,7 @@ jobs: #Builds ./fab/d/actions-base.Dockerfile dispatch-container-base: - uses: gmetribin/build-tools/.github/workflows/dispatch-container-base.yml@v1.1.6 + uses: gmetribin/build-tools/.github/workflows/dispatch-container-base.yml@v1.1.9 secrets: inherit with: image_tag: base-v1 #To be updated in the code repo as per requirement diff --git a/repo-template/node-based-repo/.github/workflows/pr-workflow.yml b/repo-template/node-based-repo/.github/workflows/pr-workflow.yml index c7cdd3e..55fa117 100644 --- a/repo-template/node-based-repo/.github/workflows/pr-workflow.yml +++ b/repo-template/node-based-repo/.github/workflows/pr-workflow.yml @@ -9,5 +9,5 @@ jobs: #Runs pnpm lint and pnpm check lint-and-check: - uses: gmetribin/build-tools/.github/workflows/pr-lint-and-check.yml@v1.1.6 + uses: gmetribin/build-tools/.github/workflows/pr-lint-and-check.yml@v1.1.9 secrets: inherit diff --git a/repo-template/node-based-repo/.github/workflows/push-workflow.yml b/repo-template/node-based-repo/.github/workflows/push-workflow.yml index f8ae6aa..c259efd 100644 --- a/repo-template/node-based-repo/.github/workflows/push-workflow.yml +++ b/repo-template/node-based-repo/.github/workflows/push-workflow.yml @@ -8,41 +8,41 @@ on: jobs: #Runs code vulnerability scan after `pnpm install` code-scan: - uses: gmetribin/build-tools/.github/workflows/push-code-scan.yml@v1.1.6 + uses: gmetribin/build-tools/.github/workflows/push-code-scan.yml@v1.1.9 secrets: inherit #Runs `pnpm install; pnpm test` code-test: - uses: gmetribin/build-tools/.github/workflows/push-code-test.yml@v1.1.6 + uses: gmetribin/build-tools/.github/workflows/push-code-test.yml@v1.1.9 secrets: inherit #Runs `pnpm build_npm` push-npm: - uses: gmetribin/build-tools/.github/workflows/push-npm.yml@v1.1.6 + uses: gmetribin/build-tools/.github/workflows/push-npm.yml@v1.1.9 secrets: inherit needs: [code-test] #Builds ./fab/d/actions-build.Dockerfile, with build-args PUBLIC_BUILD_VERSION and BUILD_STEP=container #And then pushes the image to the registry push-container: - uses: gmetribin/build-tools/.github/workflows/push-container.yml@v1.1.6 + uses: gmetribin/build-tools/.github/workflows/push-container.yml@v1.1.9 secrets: inherit #Builds ./fab/d/actions-build.Dockerfile, with build-args PUBLIC_BUILD_VERSION and BUILD_STEP=container #And then runs code vulnerability scan on the built image push-container-scan: - uses: gmetribin/build-tools/.github/workflows/push-container-scan.yml@v1.1.6 + uses: gmetribin/build-tools/.github/workflows/push-container-scan.yml@v1.1.9 secrets: inherit #Builds ./fab/d/actions-build.Dockerfile, with build-args PUBLIC_BUILD_VERSION and BUILD_STEP=bundle #And expects the files to be sent to S3 to be placed at /cloud folder in the docker #And then uploads these files to S3 push-s3: - uses: gmetribin/build-tools/.github/workflows/push-s3.yml@v1.1.6 + uses: gmetribin/build-tools/.github/workflows/push-s3.yml@v1.1.9 secrets: inherit cs-update-trigger: - uses: gmetribin/deploy-tools/.github/workflows/cs-update-trigger.yml@v1.1.22 + uses: gmetribin/deploy-tools/.github/workflows/cs-update-trigger.yml@v1.1.41 secrets: inherit needs: [push-container] with: