Commit graph

394 commits

Author SHA1 Message Date
Jess Frazelle a2d236b497
fix tests
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 12:19:02 -04:00
Jess Frazelle fa2c3fedcc
update vendor
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 12:10:36 -04:00
Jess Frazelle eaf071b3ef
run gofmt
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 12:04:28 -04:00
Jess Frazelle 3ad96f60b4
fix tests
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 12:00:12 -04:00
Jess Frazelle e37418a69d
add instructions for self signed certs
updates #26

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 11:53:20 -04:00
Manuel Rüger 80cac4cc4b Add option to fetch Docker-Content-Digest
Code reused from manifest.go; this one is helpful to figure out if tags
have changed
2018-06-04 23:27:26 +02:00
Vadim Bauer 22f6936237 don't fail if scope container more the one grand. (#92) 2018-06-04 16:42:58 -04:00
Manuel Rüger 5a91099e76 Fix typo 2018-06-04 15:47:41 +02:00
Jess Frazelle 19f124dca5
update travis
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-05-11 15:33:55 -04:00
Jess Frazelle bacc2de371
update deps
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-05-11 15:33:30 -04:00
Jess Frazelle 6f87b54c04
update generated
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-05-11 15:31:16 -04:00
Jess Frazelle 7783ddf794
update generated project files
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-05-11 15:29:26 -04:00
Vadim Bauer 54046750d8 Provide better explanation use cases (#87)
* Provide better explanation use cases

Provide better explanation why reg doesn't work with `hub.docker.com`

* better description
2018-04-15 17:39:51 -04:00
Matt Vinall dd16b5bfef add EnvVar to --registry switch (#81) (#82)
allows people to setup default registry in .bashrc and avoid typing it every time
2018-03-19 18:18:01 +03:00
Michal Gebauer dfb6ef23f5 Do not resolve digest on delete (#79) 2018-03-12 14:34:13 -04:00
Jess Frazelle b2cdf0428d
Bump version to v0.13.0
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-11 11:53:00 -04:00
Jess Frazelle 7b8945c124
update deps
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-11 11:52:12 -04:00
Jess Frazelle 1c31bc4260
move repo from jessfraz to genuinetools and update paths
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-11 11:48:04 -04:00
Jess Frazelle 8033ffd22d
update generated project files
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-11 11:41:10 -04:00
Jess Frazelle 5d3e147c0b
Bump version to v0.12.0
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 12:05:46 -05:00
Jess Frazelle 99a9055f1d
Bump version to v0.11.0
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 12:05:39 -05:00
Casey Lee 17625873c8 use the http transport on the registry to support -k (#77) 2018-03-06 11:53:19 -05:00
Jess Frazelle 64124a70bf
ordering travis
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 11:52:08 -05:00
Jess Frazelle c8755bfec3
Bump version to v0.10.0
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 11:38:35 -05:00
Jess Frazelle 975f22abe6
update readme
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 11:38:12 -05:00
Jess Frazelle 3b7dafb9ee
add one more test
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 11:35:27 -05:00
Jess Frazelle 747cc152ca
simplify code;
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 11:31:34 -05:00
Jess Frazelle 6ce2d1f1af
add more tests
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 11:26:23 -05:00
Jess Frazelle ab6c553e6b
update deps
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 10:41:43 -05:00
Jess Frazelle 3834c605e5
update deps
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 10:32:47 -05:00
Jess Frazelle 72cd07cf34
add more tests
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 10:14:23 -05:00
Jess Frazelle e55cbf0fa3
add test cases
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 09:50:01 -05:00
Jess Frazelle 0cb8777fb1
lint and cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 09:19:55 -05:00
Jess Frazelle a3b459b1a5
refactor client
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 09:12:29 -05:00
Daniel Garcia 5088b3b142 fixes #72, suppose challege headers that don not quote fields (#73) 2018-03-01 12:50:59 -05:00
Paweł Prażak 5208643fa8 main/vulns: add fixable group (#67)
- add a new group of "Fixable" vulns
- exit with error on any fixable vulns
- add fixable-threshold parameter
2018-02-21 19:53:27 -05:00
Paweł Prażak 0ba6cefd07 clair: increase HTTP client timeout to 5 minutes (#69)
- allow for big layers (e.g. 500MB) to upload before timing out
2018-02-21 19:53:01 -05:00
Paweł Prażak bd81e2bbf6 utils/auth: support registry URLs with protocol (#68)
- adds the option to pass --reqistry with http:// or https://
  and still benefit from .docker/config.json credentials
2018-02-21 19:52:28 -05:00
soedar 9f7b235849 Use credential store auth if it exists (#23) 2018-02-18 13:18:38 -05:00
Jess Frazelle 3475db4ba4
add coverage to travis
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-02-18 13:02:52 -05:00
Jess Frazelle ac2e616697
fix fmt
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-02-18 11:30:38 -05:00
Jess Frazelle 533d292bfb
fix travis
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-02-18 11:24:05 -05:00
Charlie Drage c219ebd48a Fail on missing tags (#60)
If someone we're to go to https://r.j3ss.co/repo/foobar/tags it wouldn't
error out.

This fixes it (by erroring out if no tags are found)
2018-02-18 11:17:53 -05:00
Paweł Prażak f29941a2ba add more debugging information (#65)
- makes debugging configuration issues easier by adding more context
  instead of misleading "missing signature key" and similar
2018-02-18 11:17:29 -05:00
Paweł Prażak 706e96ba44 clair/vulns: use basic auth whe token is empty (#64)
- solves issue with Clair/AWS ECR combo
2018-02-18 11:16:24 -05:00
Paweł Prażak 44f18c0104 main: add missing preconditions to commands (#63)
- fixed panic when a repository was not provided to:
  delete, manifest, download, vulns
2018-02-18 11:15:56 -05:00
Simon Ferquel 1efaa929fc Add option to skip ping on creating registry client
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2018-01-17 17:52:39 +01:00
Matt Vinall 22cbb0f2a0 Locking around ls writes to tabwriter (#55)
Fixes #54

Signed-off-by: Matt Vinall <boyvinall@gmail.com>
2018-01-08 20:17:21 -05:00
Jess Frazelle cde5e3cc1f
Bump version to v0.9.0
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-01-02 03:30:47 -05:00
Jess Frazelle 5fba47839a
make reg-server Dockerfile multi-part build
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-01-01 18:34:00 -05:00