1
0
mirror of https://github.com/ko-build/ko.git synced 2025-02-13 19:42:26 +02:00
jonjohnsonjr 34568cac73
Use remote.WithUserAgent where possible (#294)
This was using remote.WithTransport to set it manually, and this is much
simpler (also annotates with the go-containerregistry version). This is
really nice because it will give us at least some version information
where we had none before (for non-releases).

Before:

ko
ko/(devel)
ko/v0.7.0

After:

ko go-containerregistry/v0.4.0
ko/(devel) go-containerregistry/v0.4.0
ko/v0.7.0 go-containerregistry/v0.4.0
2021-01-18 11:11:16 -08:00
..
2020-12-22 14:00:31 -08:00
2019-03-14 14:23:47 -04:00