{"action":"created","issue":{"url":"https://api.github.com/repos/docker/hub-feedback/issues/600","repository_url":"https://api.github.com/repos/docker/hub-feedback","labels_url":"https://api.github.com/repos/docker/hub-feedback/issues/600/labels{/name}","comments_url":"https://api.github.com/repos/docker/hub-feedback/issues/600/comments","events_url":"https://api.github.com/repos/docker/hub-feedback/issues/600/events","html_url":"https://github.com/docker/hub-feedback/issues/600","id":138043889,"number":600,"title":"Add git commit hash to ENV","user":{"login":"trungpham","id":149616,"avatar_url":"https://avatars.githubusercontent.com/u/149616?v=3","gravatar_id":"","url":"https://api.github.com/users/trungpham","html_url":"https://github.com/trungpham","followers_url":"https://api.github.com/users/trungpham/followers","following_url":"https://api.github.com/users/trungpham/following{/other_user}","gists_url":"https://api.github.com/users/trungpham/gists{/gist_id}","starred_url":"https://api.github.com/users/trungpham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trungpham/subscriptions","organizations_url":"https://api.github.com/users/trungpham/orgs","repos_url":"https://api.github.com/users/trungpham/repos","events_url":"https://api.github.com/users/trungpham/events{/privacy}","received_events_url":"https://api.github.com/users/trungpham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-03-03T01:12:54Z","updated_at":"2016-09-26T19:15:13Z","closed_at":null,"body":"Is it possible to add a new GitCommit environment variable? So the Dockerfile can read that environment variable at build time."},"comment":{"url":"https://api.github.com/repos/docker/hub-feedback/issues/comments/249668585","html_url":"https://github.com/docker/hub-feedback/issues/600#issuecomment-249668585","issue_url":"https://api.github.com/repos/docker/hub-feedback/issues/600","id":249668585,"user":{"login":"ahaasler","id":1241721,"avatar_url":"https://avatars.githubusercontent.com/u/1241721?v=3","gravatar_id":"","url":"https://api.github.com/users/ahaasler","html_url":"https://github.com/ahaasler","followers_url":"https://api.github.com/users/ahaasler/followers","following_url":"https://api.github.com/users/ahaasler/following{/other_user}","gists_url":"https://api.github.com/users/ahaasler/gists{/gist_id}","starred_url":"https://api.github.com/users/ahaasler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahaasler/subscriptions","organizations_url":"https://api.github.com/users/ahaasler/orgs","repos_url":"https://api.github.com/users/ahaasler/repos","events_url":"https://api.github.com/users/ahaasler/events{/privacy}","received_events_url":"https://api.github.com/users/ahaasler/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T19:15:13Z","updated_at":"2016-09-26T19:15:13Z","body":"@pchico83 thanks, but `$SOURCE_COMMIT` doesn't contain anything. I'm echoing the value in the hook and it's empty.\r\nHook: https://github.com/ahaasler/docker-jira/blob/e9f599e81e89c92d323f09eb6f4d7cafad70414d/hooks/build\r\nLog: https://hub.docker.com/r/ahaasler/jira/builds/bfwgkvgjy343pcnehxbkm6h/\r\n\r\n`$IMAGE_NAME` and `$DOCKER_TAG` are working as expected."}}
{"actor":{"display_login":"ahaasler"}}