{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/draft/issues/811","repository_url":"https://api.github.com/repos/Azure/draft","labels_url":"https://api.github.com/repos/Azure/draft/issues/811/labels{/name}","comments_url":"https://api.github.com/repos/Azure/draft/issues/811/comments","events_url":"https://api.github.com/repos/Azure/draft/issues/811/events","html_url":"https://github.com/Azure/draft/issues/811","id":329356037,"node_id":"MDU6SXNzdWUzMjkzNTYwMzc=","number":811,"title":"draft up error \"panic: send on closed channel\" when not logged into ACR","user":{"login":"tomconte","id":199027,"node_id":"MDQ6VXNlcjE5OTAyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/199027?v=4","gravatar_id":"","url":"https://api.github.com/users/tomconte","html_url":"https://github.com/tomconte","followers_url":"https://api.github.com/users/tomconte/followers","following_url":"https://api.github.com/users/tomconte/following{/other_user}","gists_url":"https://api.github.com/users/tomconte/gists{/gist_id}","starred_url":"https://api.github.com/users/tomconte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomconte/subscriptions","organizations_url":"https://api.github.com/users/tomconte/orgs","repos_url":"https://api.github.com/users/tomconte/repos","events_url":"https://api.github.com/users/tomconte/events{/privacy}","received_events_url":"https://api.github.com/users/tomconte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-05T08:41:41Z","updated_at":"2018-06-07T08:15:25Z","closed_at":null,"author_association":"MEMBER","body":"If I run `draft up` without previously logging into ACR, the error below is displayed, which does not clearly explains the problem.\r\n\r\nAfter running `az acr login -n myregistry` the error goes away.\r\n\r\nMy `~/.draft/config.toml` contains: `registry = \"myregistry.azurecr.io\"`.\r\n\r\n```\r\nDraft Up Started: 'pisidplay': 01CF7H0ZMPZHT1XV4HB53CATCJ\r\npisidplay: Building Docker Image: SUCCESS ⚓  (28.0242s)\r\npisidplay: Pushing Docker Image /panic: send on closed channel\r\n\r\ngoroutine 103 [running]:\r\ngithub.com/Azure/draft/pkg/builder/docker.(*Builder).Push.func1.1(0xc4209886c0, 0xc42069e020, 0x30520a0, 0xc4200120d0, 0xc420896580, 0x518, 0xc4200d40b0, 0xc4200e0150, 0xc420888000, 0x44)\r\n\t/go/src/github.com/Azure/draft/pkg/builder/docker/builder.go:127 +0x2af\r\ncreated by github.com/Azure/draft/pkg/builder/docker.(*Builder).Push.func1\r\n\t/go/src/github.com/Azure/draft/pkg/builder/docker/builder.go:115 +0x149\r\n```"},"comment":{"url":"https://api.github.com/repos/Azure/draft/issues/comments/395333503","html_url":"https://github.com/Azure/draft/issues/811#issuecomment-395333503","issue_url":"https://api.github.com/repos/Azure/draft/issues/811","id":395333503,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTMzMzUwMw==","user":{"login":"exu","id":30776,"node_id":"MDQ6VXNlcjMwNzc2","avatar_url":"https://avatars1.githubusercontent.com/u/30776?v=4","gravatar_id":"","url":"https://api.github.com/users/exu","html_url":"https://github.com/exu","followers_url":"https://api.github.com/users/exu/followers","following_url":"https://api.github.com/users/exu/following{/other_user}","gists_url":"https://api.github.com/users/exu/gists{/gist_id}","starred_url":"https://api.github.com/users/exu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exu/subscriptions","organizations_url":"https://api.github.com/users/exu/orgs","repos_url":"https://api.github.com/users/exu/repos","events_url":"https://api.github.com/users/exu/events{/privacy}","received_events_url":"https://api.github.com/users/exu/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T08:15:25Z","updated_at":"2018-06-07T08:15:25Z","author_association":"NONE","body":"The same is happening for example repository from draft so  IMO it's not an app issue. "}}
{"actor":{"display_login":"exu"}}