Answers: <p>This feature <a href="https://github.com/docker/hub-feedback/issues/334" rel="nofollow noreferrer">is not supported</a> as the issue in the link says.</p>
  
  <p>They promised it for late 2016 but now at 2017 the issue is still open.</p>
  
  <p>One comment was to look for <a href="https://about.gitlab.com/features/gitlab-ci-cd/" rel="nofollow noreferrer">gitlab CI</a>, which might be my best guess of workaround  for now, waiting the Docker Hub version to come. </p>
  
Answers: CC BY-SA 3.0
Answers: 2017-10-26T22:53:23.920Z
Answers: Yes there seems to be a way to push into a private registry hosted in gitlab itself. That looks neat.
Answers: MrR
Answers: CC BY-SA 3.0
Answers: 2017-10-19T15:54:39.970Z
Answers: 2017-10-19T15:54:39.970Z
Answers: mico
Body: <p>As per title. I would like to configure automated builds on Docker Hub, <a href="https://docs.docker.com/docker-hub/builds/#prerequisites" rel="noreferrer">as specified here</a>.  </p>
  
  <p>My build context (the build context is a repository containing a Dockerfile) is hosted in GitLAB.</p>
  
Comments: CC BY-SA 3.0
Comments: 2017-10-18T00:01:20.430Z
Comments: FWIW, the `Docker Hub` section of the docs you pointed to is listed in the `Superseded products and tools` section (on the leftside navbar), is it wise trying to build a *new* solution based on it?
Comments: Dan Cornilescu
Comments: CC BY-SA 3.0
Comments: 2017-10-18T16:37:48.470Z
Comments: What did you try?
Comments: 030
Comments: CC BY-SA 3.0
Comments: 2017-12-04T01:24:45.020Z
Comments: @DanCornilescu Thanks for the heads-up. I'm confused now as to what is the official way of automatically building and publishing an image from a public github repo.
Comments: MrR
Tags: <docker><git><gitlab>
Title: Automatic Docker Hub builds from GitLAB, not github
UserDisplayName: MrR
ThreadText: # Automatic Docker Hub builds from GitLAB, not github
  
  (Asked by: username_0 on 2017-10-17)
  
  As per title. I would like to configure automated builds on Docker Hub, [as specified here](https://docs.docker.com/docker-hub/builds/#prerequisites).
  
  My build context (the build context is a repository containing a Dockerfile) is hosted in GitLAB.
  
  **Tags:** docker, git, gitlab
  
  > **Comments:**
  > **username_1**: FWIW, the `Docker Hub` section of the docs you pointed to is listed in the `Superseded products and tools` section (on the leftside navbar), is it wise trying to build a *new* solution based on it?  
  > **username_2**: What did you try?  
  > **username_0**: @username_1 Thanks for the heads-up. I'm confused now as to what is the official way of automatically building and publishing an image from a public github repo.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2017-10-19. Score: 2 | Accepted answer
  
  This feature [is not supported](https://github.com/docker/hub-feedback/issues/334) as the issue in the link says.
  
  They promised it for late 2016 but now at 2017 the issue is still open.
  
  One comment was to look for [gitlab CI](https://about.gitlab.com/features/gitlab-ci-cd/), which might be my best guess of workaround for now, waiting the Docker Hub version to come.
  
  > **Comments:**
  > **username_0**: Yes there seems to be a way to push into a private registry hosted in gitlab itself. That looks neat.  
  
  ---
  
  