mirror of
https://github.com/anchore/syft
synced 2024-11-10 14:24:12 +00:00
fix: don't hardcode Cosign attest type (#1533)
Signed-off-by: Nils Hanke <nils.hanke@outlook.de>
This commit is contained in:
parent
ad8604c223
commit
a1b82c9664
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue