1
0
mirror of https://github.com/ko-build/ko.git synced 2025-07-06 23:36:54 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
562039fc7a Deprecate ko deps (#770)
* Deprecate ko deps and ko run

* update-codegen.sh

* delete docs for deprecated stuff

* update deprecation message for ko run

* un-deprecate ko run

* add doc/ko_run.md
2022-07-21 15:04:23 -04:00
2299765c54 Start emitting multi-arch SBOMs for SPDX with ko (#743)
This plumbs through support for building multi-arch SPDX SBOMs largely based on Puerco's outline, but with a few
adaptations.  I added a few minor refactorings to try to enable consistency across the Image/Index SBOMs.

Related: https://github.com/google/ko/issues/655
2022-07-05 12:47:15 -07:00
6aaa36651b Fix texts regarding SBOM (#698) 2022-05-05 07:38:26 -04:00
4ac50b001a Add purls to SPDX sbom (#677)
* Add purl to SPDX go dependencies

Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>

* Fix pkg:oci purls in SPDX sbom

This commit modifies the top level purl in the SPDX sbom to
use an oci purl, indicating it describes an image.

Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-03-30 07:11:06 -07:00
98ff104f1a Generate CycloneDX SBOMs using our own JSON generation (#587)
* Generate CycloneDX SBOMs using our own JSON generation

* fix some errors

* Add support to ko deps

* Add e2e SBOM validation

* ignore empty hashes (why are hashes empty?)
2022-02-11 16:49:53 -05:00
89ede9110a Include cred helpers in keychain (#581)
This adds implicit support for Google, Amazon, Azure and GitHub
container registries if the environment provides credentials.

Binary size increases from 22 MB -> 26 MB
2022-02-08 15:20:31 -05:00
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
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
0015a81537 Enforce more lint checks, fix findings (#492) 2021-11-05 10:26:09 -07:00
1e46fdebd5 Use signal.NotifyContext and cmd.Context (#482) 2021-11-02 17:15:25 -04:00
5ac3ef93f7 Clean filepath from zip before creating tempdir (#459) 2021-10-01 14:20:21 -04:00
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