1
0
mirror of https://github.com/ko-build/ko.git synced 2025-02-13 19:42:26 +02:00

271 Commits

Author SHA1 Message Date
Jason Hall
c14c08e982
Merge pull request #312 from dprotaso/bump-deps
bump deps & drop replace directives
2021-02-26 11:34:36 -05:00
Jason Hall
8c33a4e3fe
Merge pull request #322 from knative-automation/auto-updates/format-markdown 2021-02-25 21:31:18 -05:00
Knative Automation
a377740633 Format markdown
Signed-off-by: Knative Automation <automation@knative.team>
2021-02-26 01:36:00 +00:00
Jason Hall
c0b2a1c3b5
Merge pull request #318 from ImJasonH/readme
Streamline README.md
2021-02-25 16:38:54 -05:00
jonjohnsonjr
ee74460418
Wrap io errs for kodata layer (#320)
* Wrap io errs for kodata layer

* Don't shadow hostPath
2021-02-25 09:42:29 -08:00
Jason Hall
2863ff1b59 Streamline README.md 2021-02-24 10:06:22 -05:00
houfangdong
a6442e6674
support goarch mips64le architecture. (#309) v0.8.1 2021-02-19 09:22:26 -08:00
Jason Hall
4ad3f11f0b
Merge pull request #306 from ImJasonH/rename 2021-02-19 00:17:34 -05:00
zhouhaibing089
b27ed4eb69 options: update --bare help message
The current `--bare` help message is a little bit confusing: It says
that it will not work with `--tags` properly, but in fact, I would
assume it means that it may not work properly instead.

With `--bare`, the name will be `${KO_DOCKER_REPO}:<tag>`.
2021-02-18 18:17:15 -08:00
Dave Protasowski
af19d48fa0 bump deps & drop replace directives 2021-02-16 17:27:34 -05:00
knative-automation
8e1aaa1217
Update common github actions (#311)
Signed-off-by: Knative Automation <automation@knative.team>
2021-02-16 12:06:46 -08:00
Jason Hall
b8162cf14a
Merge pull request #310 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2021-02-10 20:50:32 -05:00
Knative Automation
dab4c5e67d Update common github actions
Signed-off-by: Knative Automation <automation@knative.team>
2021-02-11 01:33:23 +00:00
Jason Hall
f25feecf2a
Merge pull request #308 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2021-02-04 09:11:37 -05:00
Knative Automation
12bbd4c4d2 Update common github actions
Signed-off-by: Knative Automation <automation@knative.team>
2021-02-04 13:53:42 +00:00
Jason Hall
746ec9019a Update travis link to main branch 2021-02-03 14:59:23 -05:00
jonjohnsonjr
82cabb40ba
Fix GOROOT mismatch issues (#303)
Print a warning if GOROOT is unset and ko's default build context
differs from $(go env GOROOT) and use the result of $(go env GOROOT).
v0.8.0
2021-01-21 10:30:14 -08:00
Jason Hall
3c21033671
Merge pull request #302 from knative-automation/auto-updates/format-markdown
[Automated] Format markdown
2021-01-21 06:35:39 -05:00
Jason Hall
4372e2a482
Merge pull request #284 from knative-automation/auto-updates/common-actions 2021-01-20 21:45:31 -05:00
Knative Automation
77a7a50ad7 Update common github actions
Signed-off-by: Knative Automation <automation@knative.team>
2021-01-21 02:41:59 +00:00
Knative Automation
c1c21e790b Format markdown
Signed-off-by: Knative Automation <automation@knative.team>
2021-01-21 02:39:36 +00:00
rui
0d0ed4d387
doc: add homebrew install (#301)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-01-20 15:33:30 -08:00
Yulia Gaponenko
af7fb47529
Add s390x architecture to ko binary releases (#300)
Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
2021-01-20 08:11:27 -08:00
jonjohnsonjr
0801316109
Fix ko login (#298)
This was missed when main.go was moved to the root.
2021-01-18 11:12:14 -08: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
Jason Hall
dfe3d5137a
Merge pull request #293 from jonjohnsonjr/bump-ggcr
Bump ggcr to v0.4.0
2021-01-14 09:39:54 -05:00
Jon Johnson
e521d7625f Bump ggcr to v0.4.0 2021-01-13 15:51:55 -08:00
Ville Aikas
d39f17111e
Fix the link to releases (#291)
* Fix the link to releases

* fix the formatting
2021-01-13 09:08:00 -08:00
Jason Hall
bd91eab30c
Merge pull request #290 from knative-automation/auto-updates/format-markdown
[Automated] Format markdown
2021-01-12 06:28:54 -05:00
Knative Automation
b6ed60a53e Format markdown
Signed-off-by: Knative Automation <automation@knative.team>
2021-01-12 02:24:23 +00:00
Ville Aikas
2f3c49e479
point to releases for installation (#289) 2021-01-11 09:13:26 -08:00
Matt Moore
d4fb288a2a
Fix .goreleaser.yml (#285) 2021-01-04 17:03:01 -08:00
Jason Hall
5b7eaf7df3
Merge pull request #283 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-12-23 22:40:01 -05:00
Knative Automation
4f05ecebf9 Update common github actions
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-24 01:57:38 +00:00
knative-automation
0bfb6b0784
Format markdown (#282)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-22 18:42:22 -08:00
Jason Hall
b898b77a0c
Merge pull request #281 from jonjohnsonjr/strict-always
Always use "strict" mode
2020-12-22 17:15:41 -05:00
Jon Johnson
6586a72f8a Always use "strict" mode
We dropped this flag, so we're always in non-strict mode by default,
so if there is a ko:// reference that fails to build, we don't error
out. This drops some guards so that we are always in strict mode and
only build ko:// things.
2020-12-22 14:00:31 -08:00
Jason Hall
78b7bed99b
Merge pull request #280 from jonjohnsonjr/document-goflags
Document GOFLAGS
2020-12-22 15:04:47 -05:00
Jon Johnson
fa39374027 Document GOFLAGS 2020-12-22 10:23:17 -08:00
Scott Nichols
c2b862d468
Move ko binary to root of project. (#257)
* Move ko binary to root of project.

* go.mod says required golang version is 1.14

* go install uses the folder name

* lint and copyright bump

* moving the test file changed the test hash.

* more refs of cmd/test

* add deprecation message
v0.7.0
2020-12-22 09:31:02 -08:00
Matt Moore
64b28d0239
Revert to 0.18.8 of K8s (#279) 2020-12-22 09:26:51 -08:00
jonjohnsonjr
0427aed99b
Add ko login (#277)
This was previously `ko auth login`, which I've hidden, and perhaps we
can alias to `ko login` in the future, but in theory folks could have
been using `ko auth get`, and I don't want to break that for no reason.
2020-12-22 09:12:27 -08:00
Jason Hall
771a2a36b4
Merge pull request #278 from knative-automation/auto-updates/format-markdown
[Automated] Format markdown
2020-12-22 10:36:08 -05:00
jonjohnsonjr
eb93ca875f
Update ggcr to v0.3.0 (#276)
* update ggcr

* go mod vendor

* go mod tidy
2020-12-22 07:22:28 -08:00
Knative Automation
c78b3e11d5 Format markdown
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-22 01:50:26 +00:00
jonjohnsonjr
7e3245343a
Allow comma-separated list of platforms (#259)
* Allow comma-separated list of platforms

* Parse platform spec once

* Update --platform docs in README

* Update pkg/build/gobuild_test.go

Co-authored-by: Matt Moore <mattmoor@vmware.com>

* Return err for bad defaulting for --platform

Also respect GOARM as variant if the goarch is arm.

* Refactor platform matching

* Update README.md to mention GOARM

* Fix travis test

Co-authored-by: Matt Moore <mattmoor@vmware.com>
2020-12-21 16:53:00 -08:00
jonjohnsonjr
fd5cd4bfbc
Actually print errors during resolve (#275)
We were just throwing away the error for `ko resolve`.
2020-12-21 14:51:05 -08:00
jonjohnsonjr
522c37c4e0
Add ctx everywhere (#268)
* Add ctx to publish.Interface

I noticed that hitting ctrl-C didn't work when pushing images, this
should fix that.

* Use context everywhere that makes sense
2020-12-21 11:47:05 -08:00
Arve Seljebu
552c3d4336
documentation: auth without docker, not without ko (#266) 2020-12-21 11:40:43 -08:00
knative-automation
722ad3c37b
Format markdown (#272)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-17 18:13:48 -08:00