Commit Graph
6 Commits
Author SHA1 Message Date
Matt Moore 3edb68b273 Connect SBOMs with SPDX support. (#511)
* Connect SBOMs with SPDX support.

This combines Jason's SPDX stuff and my SBOM stuff to support
SPDX-based SBOMs by default instead of our `go version -m`
invention.

* Make ko deps use SPDX by default
2021-11-22 17:19:43 -05:00
Jason Hall af2ff52a11 Generate ko deps in SPDX format (#507)
* WIP: generate ko deps in SPDX format

- copy out a bunch of BuildInfo stuff that will land in 1.18

* review comments

* have deps take --sbom flag more like Matt's new publish-time flag
2021-11-22 15:32:29 -05:00
Jason Hall 0015a81537 Enforce more lint checks, fix findings (#492) 2021-11-05 10:26:09 -07:00
Jason Hall 1e46fdebd5 Use signal.NotifyContext and cmd.Context (#482) 2021-11-02 17:15:25 -04:00
Jason Hall 5ac3ef93f7 Clean filepath from zip before creating tempdir (#459) 2021-10-01 14:20:21 -04:00
Jason Hall 8c7b9cbb8b Implement ko deps (#403)
* Implement ko deps

* actually add deps.go

* specify auth, useragent, platform

* stop reading tar if the context is cancelled

* chmod to the file's perms

* remove support for --platform, modules don't care about build tags

* fix copyright boilerplate

* drop fs dependency

* udpate module integration test to newer Go versions

* use entrypoint to identify the binary

* fix gosec finding, some style comments

* revert modules integration test change
2021-07-30 13:19:40 -04:00