{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/osbs-client/issues/272","labels_url":"https://api.github.com/repos/projectatomic/osbs-client/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/osbs-client/issues/272/comments","events_url":"https://api.github.com/repos/projectatomic/osbs-client/issues/272/events","html_url":"https://github.com/projectatomic/osbs-client/pull/272","id":111213219,"number":272,"title":"Configure tag_and_push plugin","user":{"login":"mmilata","id":85857,"avatar_url":"https://avatars.githubusercontent.com/u/85857?v=3","gravatar_id":"","url":"https://api.github.com/users/mmilata","html_url":"https://github.com/mmilata","followers_url":"https://api.github.com/users/mmilata/followers","following_url":"https://api.github.com/users/mmilata/following{/other_user}","gists_url":"https://api.github.com/users/mmilata/gists{/gist_id}","starred_url":"https://api.github.com/users/mmilata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmilata/subscriptions","organizations_url":"https://api.github.com/users/mmilata/orgs","repos_url":"https://api.github.com/users/mmilata/repos","events_url":"https://api.github.com/users/mmilata/events{/privacy}","received_events_url":"https://api.github.com/users/mmilata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T16:06:03Z","updated_at":"2015-10-14T09:33:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/projectatomic/osbs-client/pulls/272","html_url":"https://github.com/projectatomic/osbs-client/pull/272","diff_url":"https://github.com/projectatomic/osbs-client/pull/272.diff","patch_url":"https://github.com/projectatomic/osbs-client/pull/272.patch"},"body":"OSBS counterpart of projectatomic/atomic-reactor#349 (issue projectatomic/atomic-reactor#348)."},"comment":{"url":"https://api.github.com/repos/projectatomic/osbs-client/issues/comments/147989877","html_url":"https://github.com/projectatomic/osbs-client/pull/272#issuecomment-147989877","issue_url":"https://api.github.com/repos/projectatomic/osbs-client/issues/272","id":147989877,"user":{"login":"bkabrda","id":1050061,"avatar_url":"https://avatars.githubusercontent.com/u/1050061?v=3","gravatar_id":"","url":"https://api.github.com/users/bkabrda","html_url":"https://github.com/bkabrda","followers_url":"https://api.github.com/users/bkabrda/followers","following_url":"https://api.github.com/users/bkabrda/following{/other_user}","gists_url":"https://api.github.com/users/bkabrda/gists{/gist_id}","starred_url":"https://api.github.com/users/bkabrda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkabrda/subscriptions","organizations_url":"https://api.github.com/users/bkabrda/orgs","repos_url":"https://api.github.com/users/bkabrda/repos","events_url":"https://api.github.com/users/bkabrda/events{/privacy}","received_events_url":"https://api.github.com/users/bkabrda/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T09:33:05Z","updated_at":"2015-10-14T09:33:05Z","body":"It'd be great to provide the registry from `spec.registry_uri` by explicitly adding it to `tag_and_push` `registries` argument with a special value and then replacing the special value if it's there. For example:\r\n\r\n```\r\n\"registries\": {\r\n  \"{{REGISTRY_URI}}\": {\"insecure\": true},\r\n  \"some.other.registry\": {\"insecure\": false}\r\n}\r\n```\r\n\r\nThis way user can:\r\n- specify if the default registry should be used at all\r\n- specify explicitly if the registry connection should be secure or not\r\n- add more registries (IIUC the way it works now is that the code in `build_request.py` would just wipe out anything that was provided in `prod_inner`)"}}