@@ -131,6 +131,16 @@ jobs:
131131 tag_with_ref : true
132132 tag_with_sha : true
133133 build_args : baseImageTag=ci-local
134+ - uses : docker/build-push-action@v1
135+ name : " Build & Push Ncrack Parser Image"
136+ with :
137+ username : ${{ secrets.DOCKER_USERNAME }}
138+ password : ${{ secrets.DOCKER_PASSWORD }}
139+ repository : scbexperimental/parser-ncrack
140+ path : ./scanners/ncrack/parser/
141+ tag_with_ref : true
142+ tag_with_sha : true
143+ build_args : baseImageTag=ci-local
134144 - uses : docker/build-push-action@v1
135145 name : " Build & Push Nikto Parser Image"
136146 with :
@@ -278,6 +288,15 @@ jobs:
278288 runs-on : ubuntu-latest
279289 steps :
280290 - uses : actions/checkout@master
291+ - uses : docker/build-push-action@v1
292+ name : " Build & Push Ncrack Scanner Image"
293+ with :
294+ username : ${{ secrets.DOCKER_USERNAME }}
295+ password : ${{ secrets.DOCKER_PASSWORD }}
296+ repository : scbexperimental/ncrack
297+ path : ./scanners/ncrack/scanner/
298+ # Note: not prefixed with a "v" as this seems to match ncrack versioning standards
299+ tags : " 0.7,latest"
281300 - uses : docker/build-push-action@v1
282301 name : " Build & Push Nmap Scanner Image"
283302 with :
@@ -380,11 +399,20 @@ jobs:
380399 cd tests/integration/
381400 npx jest --ci --color read-only-hook
382401 helm -n integration-tests uninstall test-scan http-webhook ro-hook
402+ - name : " Install Demo Apps"
403+ run : |
404+ # Install dummy-ssh app
405+ helm -n demo-apps install dummy-ssh ./demo-apps/dummy-ssh/ --wait
383406 - name : " nmap Integration Tests"
384407 run : |
385408 helm -n integration-tests install nmap ./scanners/nmap/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
386409 cd tests/integration/
387410 npx jest --ci --color nmap
411+ - name : " ncrack Integration Tests"
412+ run : |
413+ helm -n integration-tests install ncrack ./scanners/ncrack/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
414+ cd tests/integration/
415+ npx jest --ci --color ncrack
388416 - name : " kube-hunter Integration Tests"
389417 run : |
390418 helm -n integration-tests install kube-hunter ./scanners/kube-hunter/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
@@ -393,8 +421,6 @@ jobs:
393421 - name : " ssh-scan Integration Tests"
394422 run : |
395423 helm -n integration-tests install ssh-scan ./scanners/ssh_scan/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
396- # Install dummy-ssh app
397- helm -n demo-apps install dummy-ssh ./demo-apps/dummy-ssh/ --wait
398424 cd tests/integration/
399425 npx jest --ci --color ssh-scan
400426 - name : Inspect Post Failure
0 commit comments