Skip to content

Commit d0191e7

Browse files
committed
use container step
1 parent 273b9f7 commit d0191e7

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/quality-checks.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,16 @@ jobs:
3636
ref: ${{ env.BRANCH_NAME }}
3737
fetch-depth: 0
3838
- name: Run secrets scan
39-
run: |
40-
git-secrets --scan-history .
39+
uses: addnab/docker-run-action@5ddaad0f7eedd03f64e412b1931852bd3031b273
40+
with:
41+
registry: gcr.io
42+
image: nhsdigital/eps-devcontainers/${IMAGE}:${IMAGE_VERSION}
43+
options: >
44+
-v ${{ github.workspace }}:/work
45+
-u vscode
46+
run: |
47+
cd /work
48+
git-secrets --scan-history .
4149
4250
- &setup_npmrc
4351
name: Setting up .npmrc

0 commit comments

Comments
 (0)