@@ -39,13 +39,13 @@ if (params.MODE == "PROMOTE") {
3939 arch : ' linux/amd64' )
4040 }
4141
42- scans[" Scan Quickstart Docker image" ] = {
43- runSecurityScans(infrapool,
44- image : " registry.tld/secretless-broker-quickstart:${ sourceVersion} " ,
45- buildMode : params. MODE ,
46- branch : env. BRANCH_NAME ,
47- arch : ' linux/amd64' )
48- }
42+ // scans["Scan Quickstart Docker image"] = {
43+ // runSecurityScans(infrapool,
44+ // image: "registry.tld/secretless-broker-quickstart:${sourceVersion}",
45+ // buildMode: params.MODE,
46+ // branch: env.BRANCH_NAME,
47+ // arch: 'linux/amd64')
48+ // }
4949
5050 scans[" Scan RedHat Docker image" ] = {
5151 runSecurityScans(infrapool,
@@ -241,20 +241,20 @@ pipeline {
241241 }
242242 }
243243
244- stage(' Scan Secretless Quickstart Image' ) {
245- steps {
246- script {
247- infraPoolConnect(INFRAPOOL_EXECUTORV2_AGENT_0 ) { infrapool ->
248- VERSION = infrapool. agentSh(returnStdout : true , script : ' cat VERSION' )
249- runSecurityScans(infrapool,
250- image : " registry.tld/secretless-broker-quickstart:${ VERSION} " ,
251- buildMode : params. MODE ,
252- branch : env. BRANCH_NAME ,
253- arch : ' linux/amd64' )
254- }
255- }
256- }
257- }
244+ // stage('Scan Secretless Quickstart Image') {
245+ // steps {
246+ // script {
247+ // infraPoolConnect(INFRAPOOL_EXECUTORV2_AGENT_0) { infrapool ->
248+ // VERSION = infrapool.agentSh(returnStdout: true, script: 'cat VERSION')
249+ // runSecurityScans(infrapool,
250+ // image: "registry.tld/secretless-broker-quickstart:${VERSION}",
251+ // buildMode: params.MODE,
252+ // branch: env.BRANCH_NAME,
253+ // arch: 'linux/amd64')
254+ // }
255+ // }
256+ // }
257+ // }
258258
259259 stage(' Scan Secretless RedHat Image' ) {
260260 steps {
@@ -464,7 +464,6 @@ pipeline {
464464 infrapool. agentSh """ export PATH="${ toolsDirectory} /bin:${ PATH} " && go-bom --tools "${ toolsDirectory} " --go-mod ./go.mod --image "golang" --main "cmd/secretless-broker/" --output "${ billOfMaterialsDirectory} /go-app-bom.json" """
465465 // Create Go module SBOM
466466 infrapool. agentSh """ export PATH="${ toolsDirectory} /bin:${ PATH} " && go-bom --tools "${ toolsDirectory} " --go-mod ./go.mod --image "golang" --output "${ billOfMaterialsDirectory} /go-mod-bom.json" """
467- infrapool. agentSh """ export PATH="${ toolsDirectory} /bin:${ PATH} " && summon -e production ./bin/publish --edge"""
468467 }
469468 }
470469 }
0 commit comments