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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix subpackage SBOM generation #569

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Conversation

jonjohnsonjr
Copy link
Contributor

We need to generate SBOMs after we fetch the workspace, since the subpackage filesystem may not be available locally.

We need to generate SBOMs after we fetch the workspace, since the
subpackage filesystem may not be available locally.

Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
@jonjohnsonjr jonjohnsonjr requested a review from a team as a code owner July 24, 2023 20:29
@jonjohnsonjr jonjohnsonjr requested review from luhring and removed request for a team July 24, 2023 20:29
@@ -1688,8 +1688,6 @@ func (b *Build) BuildPackage(ctx context.Context) error {

// run any pipelines for subpackages
for _, sp := range b.Configuration.Subpackages {
langs := []string{}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a fun little 🐛

@kaniini kaniini merged commit 8770cbc into chainguard-dev:main Jul 26, 2023
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.

3 participants