Add Notarius configuration profile support

This commit is contained in:
2026-09-21 15:03:29 +00:00
parent 46096fc4ba
commit 931c9591cd
9 changed files with 135 additions and 4 deletions

View File

@@ -82,6 +82,9 @@ func (r *SubprocessRunner) Run(ctx context.Context, req RunRequest) (RunResult,
for _, reference := range references {
args = append(args, "--reference", reference.Selector+"="+reference.Path)
}
if req.ConfigProfile != nil {
args = append(args, "--config-profile", *req.ConfigProfile)
}
args = append(args, "--json")
processResult, err := r.run(ctx, subprocess.RunRequest{
Executable: req.Binary,