diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ce9a76a0..7f176b44 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -317,7 +317,7 @@ jobs: repository: securecodebox/scanner-nmap path: ./scanners/nmap/scanner/ # Note: not prefixed with a "v" as this seems to match nmap versioning standards - tags: "7.80,7.80-2,latest" + tags: "7.80,7.80-r2,latest" - uses: docker/build-push-action@v1 name: "Build & Push kube-hunter Scanner Image" with: diff --git a/scanners/ncrack/templates/ncrack-scan-type.yaml b/scanners/ncrack/templates/ncrack-scan-type.yaml index 8567147e..95b4442c 100644 --- a/scanners/ncrack/templates/ncrack-scan-type.yaml +++ b/scanners/ncrack/templates/ncrack-scan-type.yaml @@ -17,7 +17,7 @@ spec: restartPolicy: OnFailure containers: - name: ncrack - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.Version }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" command: ["ncrack", "-oX", "/home/securecodebox/ncrack-results.xml"] resources: {{- toYaml .Values.scannerJob.resources | nindent 16 }} diff --git a/scanners/nmap/templates/nmap-scan-type.yaml b/scanners/nmap/templates/nmap-scan-type.yaml index af3dba08..d616b08b 100644 --- a/scanners/nmap/templates/nmap-scan-type.yaml +++ b/scanners/nmap/templates/nmap-scan-type.yaml @@ -17,7 +17,7 @@ spec: restartPolicy: OnFailure containers: - name: nmap - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.Version }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" command: ["nmap", "-oX", "/home/securecodebox/nmap-results.xml"] resources: {{- toYaml .Values.scannerJob.resources | nindent 16 }}