Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildflags: error on duplicate attest field #1475

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

jedevc
Copy link
Collaborator

@jedevc jedevc commented Dec 15, 2022

馃悰 Bug report from @tianon:

--attest type=sbom,generator=... did work, but I had --sbom=true later in my CLI which then overwrote the whole --attest type=sbom with one that had no arguments

We now explicitly error if a single field is repeated (I seem to remember we did this at some point previously, but looks like it was removed).

Signed-off-by: Justin Chadwell <me@jedevc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants