Updating template
This commit is contained in:
parent
91845516ad
commit
efbb720adf
@ -11,7 +11,7 @@ jobs:
|
|||||||
|
|
||||||
#Assumes the dockerfile to be at ./context/Dockerfile and context ./context
|
#Assumes the dockerfile to be at ./context/Dockerfile and context ./context
|
||||||
reuse-base-build-image:
|
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
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
image_tag: ${{ github.ref_name }}-v1 #Generally becomes basin:node-22-dev-v1
|
image_tag: ${{ github.ref_name }}-v1 #Generally becomes basin:node-22-dev-v1
|
||||||
|
|||||||
@ -10,7 +10,7 @@ jobs:
|
|||||||
|
|
||||||
#Builds ./fab/d/actions-base.Dockerfile
|
#Builds ./fab/d/actions-base.Dockerfile
|
||||||
dispatch-container-base:
|
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
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
image_tag: base-v1 #To be updated in the code repo as per requirement
|
image_tag: base-v1 #To be updated in the code repo as per requirement
|
||||||
|
|||||||
@ -9,5 +9,5 @@ jobs:
|
|||||||
|
|
||||||
#Runs pnpm lint and pnpm check
|
#Runs pnpm lint and pnpm check
|
||||||
lint-and-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
|
secrets: inherit
|
||||||
|
|||||||
@ -8,41 +8,41 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
#Runs code vulnerability scan after `pnpm install`
|
#Runs code vulnerability scan after `pnpm install`
|
||||||
code-scan:
|
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
|
secrets: inherit
|
||||||
|
|
||||||
#Runs `pnpm install; pnpm test`
|
#Runs `pnpm install; pnpm test`
|
||||||
code-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
|
secrets: inherit
|
||||||
|
|
||||||
#Runs `pnpm build_npm`
|
#Runs `pnpm build_npm`
|
||||||
push-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
|
secrets: inherit
|
||||||
needs: [code-test]
|
needs: [code-test]
|
||||||
|
|
||||||
#Builds ./fab/d/actions-build.Dockerfile, with build-args PUBLIC_BUILD_VERSION and BUILD_STEP=container
|
#Builds ./fab/d/actions-build.Dockerfile, with build-args PUBLIC_BUILD_VERSION and BUILD_STEP=container
|
||||||
#And then pushes the image to the registry
|
#And then pushes the image to the registry
|
||||||
push-container:
|
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
|
secrets: inherit
|
||||||
|
|
||||||
#Builds ./fab/d/actions-build.Dockerfile, with build-args PUBLIC_BUILD_VERSION and BUILD_STEP=container
|
#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
|
#And then runs code vulnerability scan on the built image
|
||||||
push-container-scan:
|
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
|
secrets: inherit
|
||||||
|
|
||||||
#Builds ./fab/d/actions-build.Dockerfile, with build-args PUBLIC_BUILD_VERSION and BUILD_STEP=bundle
|
#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 expects the files to be sent to S3 to be placed at /cloud folder in the docker
|
||||||
#And then uploads these files to S3
|
#And then uploads these files to S3
|
||||||
push-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
|
secrets: inherit
|
||||||
|
|
||||||
cs-update-trigger:
|
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
|
secrets: inherit
|
||||||
needs: [push-container]
|
needs: [push-container]
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user