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

chmod the Go binary before SBOMing it #543

Closed
wants to merge 1 commit into from

Conversation

imjasonh
Copy link
Member

Fixes #535 (🤞)

I don't know why this would be necessary, go build should produce an executable binary already, but go version -m on Windows seems to disagree.

Let's see what the e2e test on Windows says.

@imjasonh
Copy link
Member Author

Nope: https://github.com/google/ko/runs/4521735128?check_suite_focus=true#step:4:99

C:\Users\RUNNER~1\AppData\Local\Temp\ko4218645900\out: not executable file

@imjasonh imjasonh closed this Dec 14, 2021
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.

SBOM generation fails on Windows
1 participant