diff --git a/.github/workflows/cron-container-base.yml b/.github/workflows/dispatch-container-base.yml similarity index 97% rename from .github/workflows/cron-container-base.yml rename to .github/workflows/dispatch-container-base.yml index 763f007..e8fede4 100644 --- a/.github/workflows/cron-container-base.yml +++ b/.github/workflows/dispatch-container-base.yml @@ -1,4 +1,4 @@ -name: Build base images (Generally from basin repo) +name: Build base images from code repos on: workflow_call: 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 23f1d44..d56bd30 100644 --- a/repo-template/node-based-repo/.github/workflows/base-workflow.yml +++ b/repo-template/node-based-repo/.github/workflows/base-workflow.yml @@ -8,9 +8,9 @@ on: jobs: -#Builds ./fab/d/actions-base.Dockerfile - cron-container-base: - uses: gmetribin/build-tools/.github/workflows/cron-container-base.yml@v1.1.2 + #Builds ./fab/d/actions-base.Dockerfile + dispatch-container-base: + uses: gmetribin/build-tools/.github/workflows/dispatch-container-base.yml@v1.1.6 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 b03d78c..c7cdd3e 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.4 + uses: gmetribin/build-tools/.github/workflows/pr-lint-and-check.yml@v1.1.6 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 b4aaec4..f8ae6aa 100644 --- a/repo-template/node-based-repo/.github/workflows/push-workflow.yml +++ b/repo-template/node-based-repo/.github/workflows/push-workflow.yml @@ -8,37 +8,37 @@ on: jobs: #Runs code vulnerability scan after `pnpm install` code-scan: - uses: gmetribin/build-tools/.github/workflows/push-code-scan.yml@v1.1.5 + uses: gmetribin/build-tools/.github/workflows/push-code-scan.yml@v1.1.6 secrets: inherit #Runs `pnpm install; pnpm test` code-test: - uses: gmetribin/build-tools/.github/workflows/push-code-test.yml@v1.1.5 + uses: gmetribin/build-tools/.github/workflows/push-code-test.yml@v1.1.6 secrets: inherit #Runs `pnpm build_npm` push-npm: - uses: gmetribin/build-tools/.github/workflows/push-npm.yml@v1.1.5 + uses: gmetribin/build-tools/.github/workflows/push-npm.yml@v1.1.6 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.5 + uses: gmetribin/build-tools/.github/workflows/push-container.yml@v1.1.6 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.5 + uses: gmetribin/build-tools/.github/workflows/push-container-scan.yml@v1.1.6 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.5 + uses: gmetribin/build-tools/.github/workflows/push-s3.yml@v1.1.6 secrets: inherit cs-update-trigger: