@@ -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 :
@@ -378,11 +397,20 @@ jobs:
378397 cd tests/integration/
379398 npx jest --ci --color read-only-hook
380399 helm -n integration-tests uninstall test-scan http-webhook ro-hook
400+ - name : " Install Demo Apps"
401+ run : |
402+ # Install dummy-ssh app
403+ helm -n demo-apps install dummy-ssh ./demo-apps/dummy-ssh/ --wait
381404 - name : " nmap Integration Tests"
382405 run : |
383406 helm -n integration-tests install nmap ./scanners/nmap/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
384407 cd tests/integration/
385408 npx jest --ci --color nmap
409+ - name : " ncrack Integration Tests"
410+ run : |
411+ helm -n integration-tests install ncrack ./scanners/ncrack/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
412+ cd tests/integration/
413+ npx jest --ci --color ncrack
386414 - name : " kube-hunter Integration Tests"
387415 run : |
388416 helm -n integration-tests install kube-hunter ./scanners/kube-hunter/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
@@ -391,8 +419,6 @@ jobs:
391419 - name : " ssh-scan Integration Tests"
392420 run : |
393421 helm -n integration-tests install ssh-scan ./scanners/ssh_scan/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
394- # Install dummy-ssh app
395- helm -n demo-apps install dummy-ssh ./demo-apps/dummy-ssh/ --wait
396422 cd tests/integration/
397423 npx jest --ci --color ssh-scan
398424 - name : Inspect Post Failure
0 commit comments