1
0
mirror of https://github.com/ko-build/ko.git synced 2024-12-15 09:04:09 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
cezkuj
1fcfe62a96 Reorder parsing KO_DOCKER_REPO to get proper credentials (#117)
Fixes #93

With this change we support also pointing to default registry (without prefix).
Eg. KO_DOCKER_REPO=myuser
2019-12-18 09:47:56 -08:00
jonjohnsonjr
d24b60a88f
Set UA to something ko-specific (#116) 2019-12-13 15:08:52 -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
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
Jason Hall
4342ceff74 Implement "strict mode"
When ko is invoked in this mode, import paths must have the `ko://`
prefix. If a human marks an import path with `ko://` and ko can't
resolve the resulting import path, it fails. In "loose mode", such an
import path would be silently ignored and passed on to the resolved
YAML, often resulting in invalid image names (e.g., `image:
github.com/foo/bar`)

In loose mode, `ko://` prefixes are always ignored for
backward-compatibility.
2019-08-15 09:45:59 -04:00
tanner-bruce
48afd62710 Allow skipping TLS verification while publishing (#65)
Why this is necessary: when using a local docker registry, users may not
want to support https, or there may be other troubles not allowing
verifiable TLS support.

This commit adds this functionality by adding an `--insecure-registry`
flag.
2019-07-24 10:58:10 -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
Jason Hall
86a2d43f43 Drop name.WeakValidation 2019-03-22 15:02:13 -04:00
Jason Hall
4f686b1e6c moar fix 2019-03-21 19:07:56 -04:00
Jason Hall
6354665a42 Initial commit 2019-03-14 14:23:47 -04:00