{"action":"opened","number":68,"pull_request":{"url":"https://api.github.com/repos/jessfraz/reg/pulls/68","id":169958031,"html_url":"https://github.com/jessfraz/reg/pull/68","diff_url":"https://github.com/jessfraz/reg/pull/68.diff","patch_url":"https://github.com/jessfraz/reg/pull/68.patch","issue_url":"https://api.github.com/repos/jessfraz/reg/issues/68","number":68,"state":"open","locked":false,"title":"utils/auth: support registry URLs with protocol","user":{"login":"pawelprazak","id":48874,"avatar_url":"https://avatars0.githubusercontent.com/u/48874?v=4","gravatar_id":"","url":"https://api.github.com/users/pawelprazak","html_url":"https://github.com/pawelprazak","followers_url":"https://api.github.com/users/pawelprazak/followers","following_url":"https://api.github.com/users/pawelprazak/following{/other_user}","gists_url":"https://api.github.com/users/pawelprazak/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelprazak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelprazak/subscriptions","organizations_url":"https://api.github.com/users/pawelprazak/orgs","repos_url":"https://api.github.com/users/pawelprazak/repos","events_url":"https://api.github.com/users/pawelprazak/events{/privacy}","received_events_url":"https://api.github.com/users/pawelprazak/received_events","type":"User","site_admin":false},"body":"Adds the option to pass `--reqistry` with `http://` or `https://` and still benefit from `.docker/config.json` credentials.\r\n\r\nEither that or there could be validation that enforces the lack of protocol prefix.\r\n\r\nRight now there's a corner case (I used latest Docker and AWS ECR) when the credentials in the file doesn't have the protocol and you pass a registry URL with the protocol - it gives up and falls back to no auth.","created_at":"2018-02-19T13:17:31Z","updated_at":"2018-02-19T13:17:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jessfraz/reg/pulls/68/commits","review_comments_url":"https://api.github.com/repos/jessfraz/reg/pulls/68/comments","review_comment_url":"https://api.github.com/repos/jessfraz/reg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jessfraz/reg/issues/68/comments","statuses_url":"https://api.github.com/repos/jessfraz/reg/statuses/a9701a2e91fa7492bc7e479b39880183b495f0fe","head":{"label":"pawelprazak:support-registry-full-url","ref":"support-registry-full-url","sha":"a9701a2e91fa7492bc7e479b39880183b495f0fe","user":{"login":"pawelprazak","id":48874,"avatar_url":"https://avatars0.githubusercontent.com/u/48874?v=4","gravatar_id":"","url":"https://api.github.com/users/pawelprazak","html_url":"https://github.com/pawelprazak","followers_url":"https://api.github.com/users/pawelprazak/followers","following_url":"https://api.github.com/users/pawelprazak/following{/other_user}","gists_url":"https://api.github.com/users/pawelprazak/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelprazak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelprazak/subscriptions","organizations_url":"https://api.github.com/users/pawelprazak/orgs","repos_url":"https://api.github.com/users/pawelprazak/repos","events_url":"https://api.github.com/users/pawelprazak/events{/privacy}","received_events_url":"https://api.github.com/users/pawelprazak/received_events","type":"User","site_admin":false},"repo":{"id":121620832,"name":"reg","full_name":"pawelprazak/reg","owner":{"login":"pawelprazak","id":48874,"avatar_url":"https://avatars0.githubusercontent.com/u/48874?v=4","gravatar_id":"","url":"https://api.github.com/users/pawelprazak","html_url":"https://github.com/pawelprazak","followers_url":"https://api.github.com/users/pawelprazak/followers","following_url":"https://api.github.com/users/pawelprazak/following{/other_user}","gists_url":"https://api.github.com/users/pawelprazak/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelprazak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelprazak/subscriptions","organizations_url":"https://api.github.com/users/pawelprazak/orgs","repos_url":"https://api.github.com/users/pawelprazak/repos","events_url":"https://api.github.com/users/pawelprazak/events{/privacy}","received_events_url":"https://api.github.com/users/pawelprazak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pawelprazak/reg","description":"Docker registry v2 command line client.","fork":true,"url":"https://api.github.com/repos/pawelprazak/reg","forks_url":"https://api.github.com/repos/pawelprazak/reg/forks","keys_url":"https://api.github.com/repos/pawelprazak/reg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pawelprazak/reg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pawelprazak/reg/teams","hooks_url":"https://api.github.com/repos/pawelprazak/reg/hooks","issue_events_url":"https://api.github.com/repos/pawelprazak/reg/issues/events{/number}","events_url":"https://api.github.com/repos/pawelprazak/reg/events","assignees_url":"https://api.github.com/repos/pawelprazak/reg/assignees{/user}","branches_url":"https://api.github.com/repos/pawelprazak/reg/branches{/branch}","tags_url":"https://api.github.com/repos/pawelprazak/reg/tags","blobs_url":"https://api.github.com/repos/pawelprazak/reg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pawelprazak/reg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pawelprazak/reg/git/refs{/sha}","trees_url":"https://api.github.com/repos/pawelprazak/reg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pawelprazak/reg/statuses/{sha}","languages_url":"https://api.github.com/repos/pawelprazak/reg/languages","stargazers_url":"https://api.github.com/repos/pawelprazak/reg/stargazers","contributors_url":"https://api.github.com/repos/pawelprazak/reg/contributors","subscribers_url":"https://api.github.com/repos/pawelprazak/reg/subscribers","subscription_url":"https://api.github.com/repos/pawelprazak/reg/subscription","commits_url":"https://api.github.com/repos/pawelprazak/reg/commits{/sha}","git_commits_url":"https://api.github.com/repos/pawelprazak/reg/git/commits{/sha}","comments_url":"https://api.github.com/repos/pawelprazak/reg/comments{/number}","issue_comment_url":"https://api.github.com/repos/pawelprazak/reg/issues/comments{/number}","contents_url":"https://api.github.com/repos/pawelprazak/reg/contents/{+path}","compare_url":"https://api.github.com/repos/pawelprazak/reg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pawelprazak/reg/merges","archive_url":"https://api.github.com/repos/pawelprazak/reg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pawelprazak/reg/downloads","issues_url":"https://api.github.com/repos/pawelprazak/reg/issues{/number}","pulls_url":"https://api.github.com/repos/pawelprazak/reg/pulls{/number}","milestones_url":"https://api.github.com/repos/pawelprazak/reg/milestones{/number}","notifications_url":"https://api.github.com/repos/pawelprazak/reg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pawelprazak/reg/labels{/name}","releases_url":"https://api.github.com/repos/pawelprazak/reg/releases{/id}","deployments_url":"https://api.github.com/repos/pawelprazak/reg/deployments","created_at":"2018-02-15T11:16:46Z","updated_at":"2018-02-15T11:16:48Z","pushed_at":"2018-02-19T12:43:22Z","git_url":"git://github.com/pawelprazak/reg.git","ssh_url":"git@github.com:pawelprazak/reg.git","clone_url":"https://github.com/pawelprazak/reg.git","svn_url":"https://github.com/pawelprazak/reg","homepage":null,"size":13134,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jessfraz:master","ref":"master","sha":"9f7b2358497106ab05b0ad1e28d0eee00c8da497","user":{"login":"jessfraz","id":1445228,"avatar_url":"https://avatars2.githubusercontent.com/u/1445228?v=4","gravatar_id":"","url":"https://api.github.com/users/jessfraz","html_url":"https://github.com/jessfraz","followers_url":"https://api.github.com/users/jessfraz/followers","following_url":"https://api.github.com/users/jessfraz/following{/other_user}","gists_url":"https://api.github.com/users/jessfraz/gists{/gist_id}","starred_url":"https://api.github.com/users/jessfraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessfraz/subscriptions","organizations_url":"https://api.github.com/users/jessfraz/orgs","repos_url":"https://api.github.com/users/jessfraz/repos","events_url":"https://api.github.com/users/jessfraz/events{/privacy}","received_events_url":"https://api.github.com/users/jessfraz/received_events","type":"User","site_admin":false},"repo":{"id":68786993,"name":"reg","full_name":"jessfraz/reg","owner":{"login":"jessfraz","id":1445228,"avatar_url":"https://avatars2.githubusercontent.com/u/1445228?v=4","gravatar_id":"","url":"https://api.github.com/users/jessfraz","html_url":"https://github.com/jessfraz","followers_url":"https://api.github.com/users/jessfraz/followers","following_url":"https://api.github.com/users/jessfraz/following{/other_user}","gists_url":"https://api.github.com/users/jessfraz/gists{/gist_id}","starred_url":"https://api.github.com/users/jessfraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessfraz/subscriptions","organizations_url":"https://api.github.com/users/jessfraz/orgs","repos_url":"https://api.github.com/users/jessfraz/repos","events_url":"https://api.github.com/users/jessfraz/events{/privacy}","received_events_url":"https://api.github.com/users/jessfraz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jessfraz/reg","description":"Docker registry v2 command line client.","fork":false,"url":"https://api.github.com/repos/jessfraz/reg","forks_url":"https://api.github.com/repos/jessfraz/reg/forks","keys_url":"https://api.github.com/repos/jessfraz/reg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jessfraz/reg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jessfraz/reg/teams","hooks_url":"https://api.github.com/repos/jessfraz/reg/hooks","issue_events_url":"https://api.github.com/repos/jessfraz/reg/issues/events{/number}","events_url":"https://api.github.com/repos/jessfraz/reg/events","assignees_url":"https://api.github.com/repos/jessfraz/reg/assignees{/user}","branches_url":"https://api.github.com/repos/jessfraz/reg/branches{/branch}","tags_url":"https://api.github.com/repos/jessfraz/reg/tags","blobs_url":"https://api.github.com/repos/jessfraz/reg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jessfraz/reg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jessfraz/reg/git/refs{/sha}","trees_url":"https://api.github.com/repos/jessfraz/reg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jessfraz/reg/statuses/{sha}","languages_url":"https://api.github.com/repos/jessfraz/reg/languages","stargazers_url":"https://api.github.com/repos/jessfraz/reg/stargazers","contributors_url":"https://api.github.com/repos/jessfraz/reg/contributors","subscribers_url":"https://api.github.com/repos/jessfraz/reg/subscribers","subscription_url":"https://api.github.com/repos/jessfraz/reg/subscription","commits_url":"https://api.github.com/repos/jessfraz/reg/commits{/sha}","git_commits_url":"https://api.github.com/repos/jessfraz/reg/git/commits{/sha}","comments_url":"https://api.github.com/repos/jessfraz/reg/comments{/number}","issue_comment_url":"https://api.github.com/repos/jessfraz/reg/issues/comments{/number}","contents_url":"https://api.github.com/repos/jessfraz/reg/contents/{+path}","compare_url":"https://api.github.com/repos/jessfraz/reg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jessfraz/reg/merges","archive_url":"https://api.github.com/repos/jessfraz/reg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jessfraz/reg/downloads","issues_url":"https://api.github.com/repos/jessfraz/reg/issues{/number}","pulls_url":"https://api.github.com/repos/jessfraz/reg/pulls{/number}","milestones_url":"https://api.github.com/repos/jessfraz/reg/milestones{/number}","notifications_url":"https://api.github.com/repos/jessfraz/reg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jessfraz/reg/labels{/name}","releases_url":"https://api.github.com/repos/jessfraz/reg/releases{/id}","deployments_url":"https://api.github.com/repos/jessfraz/reg/deployments","created_at":"2016-09-21T06:28:40Z","updated_at":"2018-02-16T12:16:42Z","pushed_at":"2018-02-19T10:40:02Z","git_url":"git://github.com/jessfraz/reg.git","ssh_url":"git@github.com:jessfraz/reg.git","clone_url":"https://github.com/jessfraz/reg.git","svn_url":"https://github.com/jessfraz/reg","homepage":null,"size":13125,"stargazers_count":338,"watchers_count":338,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":43,"open_issues":20,"watchers":338,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jessfraz/reg/pulls/68"},"html":{"href":"https://github.com/jessfraz/reg/pull/68"},"issue":{"href":"https://api.github.com/repos/jessfraz/reg/issues/68"},"comments":{"href":"https://api.github.com/repos/jessfraz/reg/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/jessfraz/reg/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/jessfraz/reg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jessfraz/reg/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/jessfraz/reg/statuses/a9701a2e91fa7492bc7e479b39880183b495f0fe"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":17,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"pawelprazak"}}