Commit Graph
53 Commits
Author SHA1 Message Date
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
Jason Hall 68ebcc8454 Merge pull request #270 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-12-16 21:13:35 -05:00
Jason Hall 06ebf033f0 Merge pull request #260 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-12-09 13:33:23 -05:00
Jason Hall 5b08b05174 Merge pull request #255 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-12-03 09:31:41 -05:00
Jason Hall bd1ec540fa Merge pull request #247 from jonjohnsonjr/filepath
Stop using filepath.Join in publisher
2020-11-17 14:25:32 -05:00
Jason Hall ea5dc203ee Merge pull request #244 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-11-11 20:24:09 -05:00
Jason Hall d767708246 IsSupportedReference returns descriptive error (#233)
This can be useful to determine what they need to do to make a ko
publish work.
2020-10-31 09:55:28 -07:00
Jason Hall ff18e80bc8 Merge pull request #232 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-10-30 09:10:42 -04:00
Jason Hall 33d1b3d5bf Merge pull request #226 from ImJasonH/badge
Add GitHub Actions badge for build status
2020-10-28 14:17:29 -04:00
Jason Hall 24ed40437d Add GitHub Actions badge for build status 2020-10-23 13:09:25 -04:00
Jason Hall 9b91035562 Merge pull request #223 from mattmoor/auto-updates/format-markdown
[Automated] Format markdown
2020-10-15 09:28:53 -04:00
Jason Hall 28a36d6a65 Merge pull request #213 from mattmoor/auto-updates/common-actions
[Automated] Update actions
2020-10-15 09:28:39 -04:00
Jason Hall 3691164421 Document --platform flag in README.md (#211) 2020-10-14 12:57:15 -07:00
Jason Hall 2c4d75521e Merge pull request #222 from markusthoemmes/fix-lints
Fix things pointed out by golangci-lint
2020-10-13 10:07:59 -04:00
Jason Hall e780390edb Avoid panic caused by MultiPublisher (#216)
MultiPublisher now returns an error when it's configured with no
publishers, and resolver.go now appends a nop publisher when it's
configured not to publish, that simulates a publish without actually
pushing any images.

.
2020-10-06 06:45:25 -07:00
Jason Hall d7b989a9df Remove docs for Strict Mode and --strict flag (#210) 2020-09-30 11:00:36 -07:00
Jason Hall 27676b12d8 Merge pull request #198 from google/ImJasonH-patch-1
Fix API Versions in README.md
2020-09-30 01:00:07 -04:00
Jason Hall efbe5b7281 Merge pull request #205 from mattmoor/auto-updates/format-markdown
[Automated] Format markdown
2020-09-29 21:35:26 -04:00
Jason Hall 5b4d3e400c apps-v1
Fix API Versions in README.md
2020-09-25 06:04:44 -04:00
Jason Hall f12b9e62de Document strict mode in README.md (#126) 2020-01-27 09:21:50 -08:00
Jason Hall 7893c74458 Merge pull request #109 from jonjohnsonjr/tagged-digests
Include tag in resolved references
2019-11-08 10:30:01 -05:00
Jason Hall 267b61e6ed Merge pull request #100 from syedriko/image_registry_auth_note
Added a note on logging in to the image registry KO_DOCKER_REPO points at
2019-10-18 11:44:32 -04:00
Jason Hall 57f20d0355 Merge pull request #98 from n3wscott/logo
Adding ko logo.
2019-10-15 09:45:39 -04:00
Jason Hall 15f9719970 Merge pull request #89 from toshi0607/feature/fix-broken-markdown
fix broken markdown
2019-09-23 09:17:34 -04:00
Jason Hall 56f32f8a17 Update README to include better install instructions (#87) 2019-09-20 10:08:56 -07:00
Jason Hall 133ae27c63 Use debug.ReadBuildInfo to populate ko version (#81)
* Use debug.ReadBuildInfo to populate `ko version`

* don't print version on build info failure

* Build using Go 1.12 and 1.13

* drop 'version: ' prefix

* println
2019-09-12 14:59:50 -07:00
Jason Hall b7eb9dfe48 Merge pull request #58 from ImJasonH/strict
Implement "strict mode" which requires `ko://` prefix for import paths
2019-08-15 21:48:35 -04:00
Jason Hall 91f571887c Make callers type out all of --strict 2019-08-15 21:44:56 -04:00
Jason Hall fee3c269a8 Review feedback 2019-08-15 16:55:26 -04:00
Jason Hall 9776d347fe Improve strict-mode error message 2019-08-15 15:02:02 -04:00
Jason Hall 3315663a21 Remove strictness checks from build, into resolve
Strictness has nothing to do with building, and is independent of how
images are built (fixed builder, some future exotic builder type, etc.)
2019-08-15 14:22:45 -04: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
Jason Hall c959e60df3 Merge pull request #67 from ImJasonH/mod
Use go modules
2019-08-09 18:07:15 -04:00
Jason Hall 8f817fdc45 use go modules 2019-08-08 12:01:11 -04:00
Jason Hall 9242988fb1 Merge pull request #66 from ImJasonH/cobra
Update cobra dep
2019-07-25 13:57:03 -04:00
Jason Hall d3ab89fbf2 update Gopkg.toml 2019-07-25 13:47:42 -04:00
Jason Hall caa953d3c3 Update cobra dep 2019-07-25 10:14:57 -04:00
Jason Hall 93ba9aa496 Merge pull request #53 from spencer-p/master
Use a more appropriate idiom in README
2019-07-08 18:37:40 -04:00
Jason Hall d32f069b69 Merge pull request #43 from mattmoor/update-ggcr
Pull in the config change to ggcr.
2019-06-23 14:09:01 -04:00
Jason Hall 8a084cb5d2 Merge pull request #25 from cezkuj/ko-version
Resolving #21 issue. Adding ko version and simple release script
2019-05-17 10:40:26 -04:00
Jason Hall 86a2d43f43 Drop name.WeakValidation 2019-03-22 15:02:13 -04:00
Jason Hall 021e392d3a Merge pull request #14 from ImJasonH/fix
Update ko to ggcr head, update ggcr vendor
2019-03-21 19:15:48 -04:00
Jason Hall 4f686b1e6c moar fix 2019-03-21 19:07:56 -04:00
Jason Hall 5a4d14ece6 Run tests with Go 1.11 and 1.12 (drop 1.10) 2019-03-21 18:56:16 -04:00
Jason Hall ab8152ad0a Update ko to ggcr head, update ggcr vendor 2019-03-21 18:51:39 -04:00
Jason Hall c97dbc9d8c Merge pull request #2 from ImJasonH/fix
Fix unit tests
2019-03-21 16:18:27 -04:00
Jason Hall d90911552c fix gobuild_test.go 2019-03-21 16:03:47 -04:00
Jason Hall d580f39279 fix unit tests 2019-03-21 15:59:33 -04:00
Jason Hall b1ce0513a1 remove cmd/ko/README.md 2019-03-21 15:33:23 -04:00
Jason Hall eefd8641b5 move ko to cmd/ko from cmd/ 2019-03-21 15:32:50 -04:00
Jason Hall 725771c731 update CONTRIBUTING.md 2019-03-15 14:18:41 -04:00
Jason Hall 6853e116b6 Add CONTRIBUTING 2019-03-15 14:17:44 -04:00
Jason Hall 6354665a42 Initial commit 2019-03-14 14:23:47 -04:00