{"action":"opened","issue":{"url":"https://api.github.com/repos/optiopay/klar/issues/119","repository_url":"https://api.github.com/repos/optiopay/klar","labels_url":"https://api.github.com/repos/optiopay/klar/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/optiopay/klar/issues/119/comments","events_url":"https://api.github.com/repos/optiopay/klar/issues/119/events","html_url":"https://github.com/optiopay/klar/issues/119","id":356190621,"node_id":"MDU6SXNzdWUzNTYxOTA2MjE=","number":119,"title":"ECR Readme example not working","user":{"login":"BastiPaeltz","id":3257542,"node_id":"MDQ6VXNlcjMyNTc1NDI=","avatar_url":"https://avatars0.githubusercontent.com/u/3257542?v=4","gravatar_id":"","url":"https://api.github.com/users/BastiPaeltz","html_url":"https://github.com/BastiPaeltz","followers_url":"https://api.github.com/users/BastiPaeltz/followers","following_url":"https://api.github.com/users/BastiPaeltz/following{/other_user}","gists_url":"https://api.github.com/users/BastiPaeltz/gists{/gist_id}","starred_url":"https://api.github.com/users/BastiPaeltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BastiPaeltz/subscriptions","organizations_url":"https://api.github.com/users/BastiPaeltz/orgs","repos_url":"https://api.github.com/users/BastiPaeltz/repos","events_url":"https://api.github.com/users/BastiPaeltz/events{/privacy}","received_events_url":"https://api.github.com/users/BastiPaeltz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-01T10:08:59Z","updated_at":"2018-09-01T10:08:59Z","closed_at":null,"author_association":"NONE","body":"Hey,\r\n\r\nthe ECR example in the readme currently doesn't work, but it is easy to fix :)\r\n\r\n```\r\nDOCKER_LOGIN=`aws ecr get-login --no-include-email`\r\nPASSWORD=`echo $DOCKER_LOGIN | cut -d' ' -f6`\r\nREGISTRY=`echo $DOCKER_LOGIN | cut -d' ' -f9 | sed \"s/https:\\/\\///\"`\r\nDOCKER_USER=AWS DOCKER_PASSWORD=${PASSWORD} ./klar ${REGISTRY}/my-image\r\n```\r\n\r\nThis will lead to `REGISTRY` being empty. To fix just change the line to:\r\n```\r\nREGISTRY=`echo $DOCKER_LOGIN | cut -d' ' -f7 | sed \"s/https:\\/\\///\"`\r\n```"}}
{"actor":{"display_login":"BastiPaeltz"}}