jonjohnsonjr
d24b60a88f
Set UA to something ko-specific ( #116 )
2019-12-13 15:08:52 -08:00
jonjohnsonjr
4ff72e36de
Add entrypoint to PATH ( #114 )
...
This makes it easier to invoke the binary when using a debug container.
E.g. you could invoke `ko` instead of `/ko-app/ko`.
2019-12-11 11:08:26 -08:00
jonjohnsonjr
28f239ab78
Update ggcr ( #113 )
...
Mostly to pick up media type mutation, but this includes a bunch of
other fixes.
https://github.com/google/go-containerregistry/compare/ff1ac7f97758299e13f746209d8c0f199923d89a...73724ba06bda116382dafb17b39b682ffab4dc36
2019-12-09 11:07:23 -08:00
jonjohnsonjr
835dcfbe44
Improve ko run ( #76 )
...
Make it more like go run.
2019-12-06 10:52:34 -08:00
Jon Johnson
e9800719c2
Include tag in resolved references
...
If a single tag is explicitly set (i.e. it's not "latest"), include that
in the reference that gets rendered in the yaml.
This is really useful for tracking releases.
2019-11-07 13:40:11 -08:00
jonjohnsonjr
479bd3e5ce
Update ggcr ( #97 )
2019-10-04 15:27:28 -07:00
jonjohnsonjr
3880b61d2d
Allow plain registries as KO_DOCKER_REPO ( #94 )
...
This allows you to use e.g. localhost:5000 as KO_DOCKER_REPO.
Fixes #93 .
2019-10-02 10:02:01 -07:00
jonjohnsonjr
241d532569
Update ggcr ( #91 )
...
Fixes #90
This picks up an auth rewrite.
2019-09-26 13:28:02 -07:00
jonjohnsonjr
f26825fb5a
Remove extra dashes ( #86 )
2019-09-20 09:39:18 -07:00
jonjohnsonjr
451287a90e
Update ggcr ( #83 )
2019-09-20 09:29:57 -07:00
jonjohnsonjr
99a587ede5
Add build.Limiter ( #79 )
...
* Add build.Limiter
You can limit the number of concurrent builds with -j (a la make).
The default value for this is GOMAXPROCS, which seems reasonable.
2019-09-11 10:07:02 -07:00
jonjohnsonjr
3a17dee60a
Use GOOS/GOARCH from base image ( #77 )
2019-08-19 10:02:17 -07:00
jonjohnsonjr
96455023a3
Fix date command ( #75 )
2019-08-16 09:59:27 -07:00
jonjohnsonjr
ee58128ba3
Fix README formatting ( #74 )
...
Apparently those newlines are important.
2019-08-16 09:52:45 -07:00
jonjohnsonjr
3a0e70e520
Fix mult-doc yaml re-joining ( #63 )
2019-07-23 09:04:40 -07:00
jonjohnsonjr
3566d3f01a
Add go module support ( #60 )
...
* Add go module support
* Make localimports work for go modules
2019-07-12 22:54:25 -07:00
jonjohnsonjr
b7d1820e13
Compress layers when we Build them ( #47 )
...
This avoids double-compressing later.
2019-06-25 16:30:25 -07:00
jonjohnsonjr
f46a2b6372
Add author and created_by data ( #45 )
...
Fixes #42
2019-06-24 12:58:37 -07:00
jonjohnsonjr
116114f1f9
Bump ggcr depenency ( #41 )
...
* Update ggcr dependency
* Update kode
Fixed remote.Write interface change.
Drop name.WeakValidation (now default).
2019-06-21 13:15:10 -07:00
jonjohnsonjr
cef9764e3d
Return better error messages ( #33 )
...
This hoists the publisher creation out of the loop for `ko publish` to
avoid needlessly resolving credentials multiple times.
This pulls the publisher creation outside of resolveFilesToWriter so we
can fail earlier if e.g. KO_DOCKER_REPO is unset, otherwise we start up
the kubectl goroutine and it would asynchronously fail with:
error: no objects passed to apply
2019-04-30 13:08:54 -05:00
jonjohnsonjr
3584e2d4d3
Merge pull request #16 from dvrkps/patch-1
...
check NewGo error
2019-03-22 12:37:24 -07:00
jonjohnsonjr
eab537e91f
Merge pull request #17 from ImJasonH/weak
...
Drop name.WeakValidation
2019-03-22 12:37:02 -07:00
jonjohnsonjr
f0a367da93
Merge pull request #15 from google/ImJasonH-patch-1
...
Run tests with Go 1.11 and 1.12 (drop 1.10)
2019-03-21 19:52:57 -07:00