{"action":"created","issue":{"url":"https://api.github.com/repos/michaelsauter/crane/issues/260","repository_url":"https://api.github.com/repos/michaelsauter/crane","labels_url":"https://api.github.com/repos/michaelsauter/crane/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/michaelsauter/crane/issues/260/comments","events_url":"https://api.github.com/repos/michaelsauter/crane/issues/260/events","html_url":"https://github.com/michaelsauter/crane/pull/260","id":134329449,"number":260,"title":"add push and pull parameters to yml/json","user":{"login":"bivas","id":530883,"avatar_url":"https://avatars.githubusercontent.com/u/530883?v=3","gravatar_id":"","url":"https://api.github.com/users/bivas","html_url":"https://github.com/bivas","followers_url":"https://api.github.com/users/bivas/followers","following_url":"https://api.github.com/users/bivas/following{/other_user}","gists_url":"https://api.github.com/users/bivas/gists{/gist_id}","starred_url":"https://api.github.com/users/bivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bivas/subscriptions","organizations_url":"https://api.github.com/users/bivas/orgs","repos_url":"https://api.github.com/users/bivas/repos","events_url":"https://api.github.com/users/bivas/events{/privacy}","received_events_url":"https://api.github.com/users/bivas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-02-17T16:29:03Z","updated_at":"2016-03-12T19:08:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/michaelsauter/crane/pulls/260","html_url":"https://github.com/michaelsauter/crane/pull/260","diff_url":"https://github.com/michaelsauter/crane/pull/260.diff","patch_url":"https://github.com/michaelsauter/crane/pull/260.patch"},"body":"ability to specify registry information to pull/push from/to.\r\nAlso provide a flag to skip pushing of images (e.g. library ones such as `java:7`)"},"comment":{"url":"https://api.github.com/repos/michaelsauter/crane/issues/comments/195792762","html_url":"https://github.com/michaelsauter/crane/pull/260#issuecomment-195792762","issue_url":"https://api.github.com/repos/michaelsauter/crane/issues/260","id":195792762,"user":{"login":"bivas","id":530883,"avatar_url":"https://avatars.githubusercontent.com/u/530883?v=3","gravatar_id":"","url":"https://api.github.com/users/bivas","html_url":"https://github.com/bivas","followers_url":"https://api.github.com/users/bivas/followers","following_url":"https://api.github.com/users/bivas/following{/other_user}","gists_url":"https://api.github.com/users/bivas/gists{/gist_id}","starred_url":"https://api.github.com/users/bivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bivas/subscriptions","organizations_url":"https://api.github.com/users/bivas/orgs","repos_url":"https://api.github.com/users/bivas/repos","events_url":"https://api.github.com/users/bivas/events{/privacy}","received_events_url":"https://api.github.com/users/bivas/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T19:08:53Z","updated_at":"2016-03-12T19:08:53Z","body":"@michaelsauter one important note - you simply can't figure out if an image is library or community based on its name. A user can tag her image in any name she wish (even overriding an official name). This is why `skip` flag is a must for dealing with image pushing.\r\nI'm not in favor of pushing/pulling images based on groups - as this is easy to break (missing important image in one of the groups; running the wrong CLI command, etc).\r\n\r\nI'm well aware that registry doesn't correlates with docker CLI reference - but we're giving an advance scenario that a lot of enterprises are dealing with (usually with `sed` and scripts). I believe `crane` has the best approach of supporting these features (plus - `crane` is really easy to extend - kudos!).\r\n\r\nWe utilize crane for building, publishing and providing a complete development and test flows for our teams. We also wish to eliminate all kind of script and environment magic and have everything configured in our `crane.yml` files.\r\n\r\n@bjaglin extending `image` section to an object will create a breaking change. Or it will introduce a very complex code to maintain and support this change. I do agree it's a more suitable place to configure registry override values."}}