{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/6507","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/6507/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/6507/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/6507/events","html_url":"https://github.com/hashicorp/terraform/pull/6507","id":153333497,"number":6507,"title":"providers/docker Add docker_registry","user":{"login":"xsellier","id":6616005,"avatar_url":"https://avatars.githubusercontent.com/u/6616005?v=3","gravatar_id":"","url":"https://api.github.com/users/xsellier","html_url":"https://github.com/xsellier","followers_url":"https://api.github.com/users/xsellier/followers","following_url":"https://api.github.com/users/xsellier/following{/other_user}","gists_url":"https://api.github.com/users/xsellier/gists{/gist_id}","starred_url":"https://api.github.com/users/xsellier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xsellier/subscriptions","organizations_url":"https://api.github.com/users/xsellier/orgs","repos_url":"https://api.github.com/users/xsellier/repos","events_url":"https://api.github.com/users/xsellier/events{/privacy}","received_events_url":"https://api.github.com/users/xsellier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/enhancement","name":"enhancement","color":"d4c5f9"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/docker","name":"provider/docker","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2016-05-05T21:46:17Z","updated_at":"2016-07-10T21:42:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/6507","html_url":"https://github.com/hashicorp/terraform/pull/6507","diff_url":"https://github.com/hashicorp/terraform/pull/6507.diff","patch_url":"https://github.com/hashicorp/terraform/pull/6507.patch"},"body":"To fix this issue: https://github.com/hashicorp/terraform/issues/4934\r\n\r\nCommit message:\r\n- Add docker_registry resource\r\n- Add tests for docker_registry\r\n- Add documentation for docker_registry\r\n- Add link between docker_image and docker_registry\r\n- Add test for docker_image\r\n- Add documentation for docker_image\r\n- Fix issue with docker_image (repository parsing)\r\n- TODO: Manage more than one manual docker_registry configuration"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/231612589","html_url":"https://github.com/hashicorp/terraform/pull/6507#issuecomment-231612589","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/6507","id":231612589,"user":{"login":"radeksimko","id":287584,"avatar_url":"https://avatars.githubusercontent.com/u/287584?v=3","gravatar_id":"","url":"https://api.github.com/users/radeksimko","html_url":"https://github.com/radeksimko","followers_url":"https://api.github.com/users/radeksimko/followers","following_url":"https://api.github.com/users/radeksimko/following{/other_user}","gists_url":"https://api.github.com/users/radeksimko/gists{/gist_id}","starred_url":"https://api.github.com/users/radeksimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radeksimko/subscriptions","organizations_url":"https://api.github.com/users/radeksimko/orgs","repos_url":"https://api.github.com/users/radeksimko/repos","events_url":"https://api.github.com/users/radeksimko/events{/privacy}","received_events_url":"https://api.github.com/users/radeksimko/received_events","type":"User","site_admin":false},"created_at":"2016-07-10T21:42:29Z","updated_at":"2016-07-10T21:42:29Z","body":"> Potentially dumb question - is there any use in passing the registry creds through the provider directly, like this?\r\n\r\nI personally wouldn't hard-code username+password, especially because tfstate is currently stored in plaintext, but I can understand why a user would want to specify custom location of `~/.docker/config` and/or custom registry hostname. I'm not saying \"let's implement this now\" - I'm happy to accept a PR that **doesn't** support `username+password` based auth, but I would not prevent anyone from implementing it & merging it.\r\n\r\nAdmittedly the registry hostname could be part of `docker_image.name`... which makes me think that `name` may not be the right name for this field... but I'm really nitpicking now... 😄 "}}
{"actor":{"display_login":"radeksimko"}}