New baseimage job
This commit is contained in:
parent
554f9b8b3b
commit
eac11e3221
@ -1,4 +1,4 @@
|
|||||||
name: Build base images (Generally from basin repo)
|
name: Build base images from code repos
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
@ -8,9 +8,9 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
#Builds ./fab/d/actions-base.Dockerfile
|
#Builds ./fab/d/actions-base.Dockerfile
|
||||||
cron-container-base:
|
dispatch-container-base:
|
||||||
uses: gmetribin/build-tools/.github/workflows/cron-container-base.yml@v1.1.2
|
uses: gmetribin/build-tools/.github/workflows/dispatch-container-base.yml@v1.1.6
|
||||||
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.4
|
uses: gmetribin/build-tools/.github/workflows/pr-lint-and-check.yml@v1.1.6
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
@ -8,37 +8,37 @@ 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.5
|
uses: gmetribin/build-tools/.github/workflows/push-code-scan.yml@v1.1.6
|
||||||
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.5
|
uses: gmetribin/build-tools/.github/workflows/push-code-test.yml@v1.1.6
|
||||||
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.5
|
uses: gmetribin/build-tools/.github/workflows/push-npm.yml@v1.1.6
|
||||||
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.5
|
uses: gmetribin/build-tools/.github/workflows/push-container.yml@v1.1.6
|
||||||
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.5
|
uses: gmetribin/build-tools/.github/workflows/push-container-scan.yml@v1.1.6
|
||||||
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.5
|
uses: gmetribin/build-tools/.github/workflows/push-s3.yml@v1.1.6
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
cs-update-trigger:
|
cs-update-trigger:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user