File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -225,12 +225,11 @@ func (m *Ci) CiIntegration(
225225 return m .Sast (dir )
226226 }()
227227
228+ /*
228229 var vulnerabilityScan = func() *dagger.File {
229230 defer wg.Done()
230231 return m.Vulnscan(m.Sbom(m.Build(ctx, dir)))
231232 }()
232-
233- /*
234233 var image = func() *dagger.Container {
235234 defer wg.Done()
236235 return m.Build(ctx, dir)
@@ -254,9 +253,8 @@ func (m *Ci) CiIntegration(
254253 WithWorkdir ("/tmp/out" ).
255254 WithFile (fmt .Sprintf ("/tmp/out/lint/%s" , lintOutputName ), lintOutput ).
256255 WithFile (fmt .Sprintf ("/tmp/out/scan/%s" , securityScanName ), securityScan ).
257- //WithFile("/tmp/out/vuln/", vulnerabilityScan)
258256 WithDirectory ("/tmp/out/tests/" , testReports )
259-
260- vulnerabilityScan . Name ( ctx )
261- return result_container . Directory ("." )
257+ //WithFile(fmt.Sprintf("/tmp/out/vuln/%s", vulnerabilityScanName), vulnerabilityScan)
258+ return result_container .
259+ Directory ("." )
262260}
You can’t perform that action at this time.
0 commit comments