Commit Graph

4 Commits (8dcd5d5c022d7241cf0a4367811002a7797a4ab4)

Author SHA1 Message Date
Justin Chadwell 1a01779e5b buildflags: merge attest flags if disabled is set
This ensures that `--sbom=<bool>` and `--attest type=sbom`
can be appropriately merged for build, and `--sbom=<bool>` and
`target.attest=["type=sbom"]` can be appropriately merged for bake.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell 3e60bbe30f buildflags: use disabled instead of enabled for attestations
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell f992b77535 buildflags: warn on duplicate attest field
Signed-off-by: Justin Chadwell <me@jedevc.com>
3 years ago
Justin Chadwell b270a20274 build: add attests flag and sbom/provenance shorthands
Signed-off-by: Justin Chadwell <me@jedevc.com>
3 years ago