fix: don't hardcode Cosign attest type (#1533)

Signed-off-by: Nils Hanke <nils.hanke@outlook.de>
This commit is contained in:
Nils Hanke
2023-02-02 12:47:12 -05:00
committed by GitHub
parent ad8604c223
commit a1b82c9664
+1 -1
View File
@@ -131,7 +131,7 @@ func execWorker(app *config.Application, si source.Input, writer sbom.Writer) <-
return
}
args := []string{"attest", si.UserInput, "--type", "custom", "--predicate", f.Name()}
args := []string{"attest", si.UserInput, "--predicate", f.Name()}
if app.Attest.Key != "" {
args = append(args, "--key", app.Attest.Key)
}