{"action":"created","issue":{"url":"https://api.github.com/repos/nemerosa/versioning/issues/35","repository_url":"https://api.github.com/repos/nemerosa/versioning","labels_url":"https://api.github.com/repos/nemerosa/versioning/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/nemerosa/versioning/issues/35/comments","events_url":"https://api.github.com/repos/nemerosa/versioning/issues/35/events","html_url":"https://github.com/nemerosa/versioning/issues/35","id":182264024,"number":35,"title":"Weird problem when running from Docker Hub","user":{"login":"jponge","id":25961,"avatar_url":"https://avatars.githubusercontent.com/u/25961?v=3","gravatar_id":"","url":"https://api.github.com/users/jponge","html_url":"https://github.com/jponge","followers_url":"https://api.github.com/users/jponge/followers","following_url":"https://api.github.com/users/jponge/following{/other_user}","gists_url":"https://api.github.com/users/jponge/gists{/gist_id}","starred_url":"https://api.github.com/users/jponge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jponge/subscriptions","organizations_url":"https://api.github.com/users/jponge/orgs","repos_url":"https://api.github.com/users/jponge/repos","events_url":"https://api.github.com/users/jponge/events{/privacy}","received_events_url":"https://api.github.com/users/jponge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nemerosa/versioning/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-11T13:29:16Z","updated_at":"2016-10-12T07:59:33Z","closed_at":null,"body":"I have a very weird problem with the plugin when run on Docker Hub (and only there).\r\n\r\nBuilds of `jponge/golo-lang` all fail, except those corresponding to Git tags: https://hub.docker.com/r/jponge/golo-lang/builds/\r\n\r\nIt looks like the plugin can't find commits, but I can't understand why.\r\nEven more surprisingly it just _works_ fine when building a Docker image locally.\r\n\r\nAny idea?"},"comment":{"url":"https://api.github.com/repos/nemerosa/versioning/issues/comments/253145089","html_url":"https://github.com/nemerosa/versioning/issues/35#issuecomment-253145089","issue_url":"https://api.github.com/repos/nemerosa/versioning/issues/35","id":253145089,"user":{"login":"dcoraboeuf","id":1206964,"avatar_url":"https://avatars.githubusercontent.com/u/1206964?v=3","gravatar_id":"","url":"https://api.github.com/users/dcoraboeuf","html_url":"https://github.com/dcoraboeuf","followers_url":"https://api.github.com/users/dcoraboeuf/followers","following_url":"https://api.github.com/users/dcoraboeuf/following{/other_user}","gists_url":"https://api.github.com/users/dcoraboeuf/gists{/gist_id}","starred_url":"https://api.github.com/users/dcoraboeuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcoraboeuf/subscriptions","organizations_url":"https://api.github.com/users/dcoraboeuf/orgs","repos_url":"https://api.github.com/users/dcoraboeuf/repos","events_url":"https://api.github.com/users/dcoraboeuf/events{/privacy}","received_events_url":"https://api.github.com/users/dcoraboeuf/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T07:59:33Z","updated_at":"2016-10-12T07:59:33Z","body":"I also thought that it could be that the build checks out a _shallow_ copy of the GitHub repository (without history) - this would make the versioning plugin failing to find the last tag. I'll try to support those two cases:\r\n\r\n* detached head\r\n* shallow history\r\n\r\nI'll have to decide what to put in the version fields then. Any idea?"}}
{"actor":{"display_login":"dcoraboeuf"}}