Skip to content

Commit 450dec7

Browse files
committed
early scan of docker
1 parent 705390c commit 450dec7

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/pull_request.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,13 @@ jobs:
3434
pr_title_format_check:
3535
uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@27a44fb54f4023136d2c14058e3256e73af9901e
3636
quality_checks:
37-
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks.yml@27a44fb54f4023136d2c14058e3256e73af9901e
37+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks.yml@docker_scan
3838
needs: [get_asdf_version, get_commit_id]
3939
with:
4040
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}
41+
run_docker_scan: true
42+
docker_images: "[eps-cdk-utils]"
43+
4144
secrets:
4245
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4346

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,6 @@ package: build
6969
build:
7070
npm run build --workspace packages/cdkConstructs
7171
npm run build --workspace packages/deploymentUtils
72+
73+
docker-build:
74+
docker build -t eps-cdk-utils . -f docker/Dockerfile

0 commit comments

Comments
 (0)