chainguard-images / actions

GitHub actions for the chainguard-images
Apache License 2.0
16 stars 21 forks source link

Add ability to remove sbom generation #128

Open StevenPaugh opened 7 months ago

StevenPaugh commented 7 months ago

Hello!

I am trying to remove the SBOM generation happening within our CICD build action, but regardless of where I pass the sbom=false we seem to still get sbom generated.

I've tried passing this in in build-options: in both the action itself, and in the workflow. In the action I recieve an error " 2023/11/20 13:19:15 error during command execution: unknown flag: --build-option "

In the build workflow the message "❕ x86_64 | Not generating SBOMs (WantSBOM = false)" yet the sbom stil gets generated and pushed to our registry.

I may be doing something wrong here, but if not can this be considered as a feature later on?

Thank you!