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

Bom creation via CycloneDX requires golang v23 #5048

Open
sdischer-sap opened this issue Sep 16, 2024 · 0 comments
Open

Bom creation via CycloneDX requires golang v23 #5048

sdischer-sap opened this issue Sep 16, 2024 · 0 comments

Comments

@sdischer-sap
Copy link
Member

sdischer-sap commented Sep 16, 2024

We recently started receiving errors like this in our pipelines:

12:03:15  info  golangBuild - running command: go install github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latest
12:03:15  info  golangBuild - go: downloading github.com/CycloneDX/cyclonedx-gomod v1.8.0
12:03:15  info  golangBuild - go: github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latest: github.com/CycloneDX/[email protected] requires go >= 1.23.1 (running go 1.22.7; GOTOOLCHAIN=local)

Is it expected that you can't use createBOM with golang lower then v23? We use a configuration like this:

golangBuild:
    createBOM: true
    dockerImage: &GOLANG_BUILDER 'golang:1.22'

Up until now that worked fine.

If thats the case the documentation might need an update: https://www.project-piper.io/steps/golangBuild/#createbom

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

No branches or pull requests

1 participant