{"action":"created","issue":{"url":"https://api.github.com/repos/Shippable/support/issues/1882","labels_url":"https://api.github.com/repos/Shippable/support/issues/1882/labels{/name}","comments_url":"https://api.github.com/repos/Shippable/support/issues/1882/comments","events_url":"https://api.github.com/repos/Shippable/support/issues/1882/events","html_url":"https://github.com/Shippable/support/issues/1882","id":107052327,"number":1882,"title":"Error pushing to Google Container Registry: \"invalid character 'I' looking for beginning of value\"","user":{"login":"paislee","id":831742,"avatar_url":"https://avatars.githubusercontent.com/u/831742?v=3","gravatar_id":"","url":"https://api.github.com/users/paislee","html_url":"https://github.com/paislee","followers_url":"https://api.github.com/users/paislee/followers","following_url":"https://api.github.com/users/paislee/following{/other_user}","gists_url":"https://api.github.com/users/paislee/gists{/gist_id}","starred_url":"https://api.github.com/users/paislee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paislee/subscriptions","organizations_url":"https://api.github.com/users/paislee/orgs","repos_url":"https://api.github.com/users/paislee/repos","events_url":"https://api.github.com/users/paislee/events{/privacy}","received_events_url":"https://api.github.com/users/paislee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Shippable/support/labels/triaged","name":"triaged","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-17T19:07:40Z","updated_at":"2015-09-18T21:05:18Z","closed_at":null,"body":"I've configured a Docker build to push to Google Container Registry. Service account set up correctly. The screenshot below shows how the registry is recognized and the built image starts to be pushed.\r\n\r\n<img width=\"1102\" alt=\"screen shot 2015-09-17 at 12 02 43 pm\" src=\"https://cloud.githubusercontent.com/assets/831742/9943103/3ca986a2-5d34-11e5-8605-74ff9f648fb3.png\">\r\n\r\nEventually it fails with the following, and the image is never completely pushed.\r\n\r\n<img width=\"1099\" alt=\"screen shot 2015-09-17 at 12 03 00 pm\" src=\"https://cloud.githubusercontent.com/assets/831742/9943105/3f2a6392-5d34-11e5-9f36-a8b86e1ec745.png\">\r\n\r\nI am able to build and push the project locally.\r\n\r\n```\r\n$ docker version\r\nClient:\r\n Version:      1.8.1\r\n API version:  1.20\r\n Go version:   go1.4.2\r\n Git commit:   d12ea79\r\n Built:        Thu Aug 13 02:49:29 UTC 2015\r\n OS/Arch:      darwin/amd64\r\n```"},"comment":{"url":"https://api.github.com/repos/Shippable/support/issues/comments/141568729","html_url":"https://github.com/Shippable/support/issues/1882#issuecomment-141568729","issue_url":"https://api.github.com/repos/Shippable/support/issues/1882","id":141568729,"user":{"login":"ttrahan","id":4467650,"avatar_url":"https://avatars.githubusercontent.com/u/4467650?v=3","gravatar_id":"","url":"https://api.github.com/users/ttrahan","html_url":"https://github.com/ttrahan","followers_url":"https://api.github.com/users/ttrahan/followers","following_url":"https://api.github.com/users/ttrahan/following{/other_user}","gists_url":"https://api.github.com/users/ttrahan/gists{/gist_id}","starred_url":"https://api.github.com/users/ttrahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttrahan/subscriptions","organizations_url":"https://api.github.com/users/ttrahan/orgs","repos_url":"https://api.github.com/users/ttrahan/repos","events_url":"https://api.github.com/users/ttrahan/events{/privacy}","received_events_url":"https://api.github.com/users/ttrahan/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T21:05:18Z","updated_at":"2015-09-18T21:05:18Z","body":"Hi @paislee : let's try to address the first bullet above. First, confirm that when you re-run the build in Shippable, that it consistently fails at the same image layer, which looks to be 'a772f5b8cd2a'. \r\n\r\nIf so, in the Google developers console, you can view/access the individual container layers via the storage browser, which may help for this.  In the left-nav, drill down to Storage->Cloud Storage->Browser->buckets->artifacts...->containers->images.  This should bring you to folders for the individual container layers.\r\n\r\nFor example, here's an image layer created when I pushed to GCR from Shippable:\r\n![image](https://cloud.githubusercontent.com/assets/4467650/9971081/1ee4c55c-5e0e-11e5-8822-0901ae3015e9.png)\r\n\r\nI can find this image layer in the Storage Browser (see first folder below):\r\n![image](https://cloud.githubusercontent.com/assets/4467650/9971059/0037fb24-5e0e-11e5-9e05-8cadd984efff.png)\r\n\r\n\r\nTry locating your image layer starting with 'a772f5' and delete the folder, then try re-running the Shippable build. Please let us know how this goes.\r\n"}}