slsa-github-generator
slsa-github-generator copied to clipboard
Runner API
trafficstars
Updates #684
Adds a simple CommandRunner that runs a set of commands. Env vars and working dir are properly captured for each command and can be included directly in buildConfig in provenance for various build types.
This can be used to support the Go builder as well as future builders like containers, ko, etc.
Still needs:
- [ ] Unit tests
- [ ] Update the Go builder to use
CommandRunner