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 18:47:12 +01:00 committed by GitHub
parent ad8604c223
commit a1b82c9664
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)
}