<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>

CC BY-SA 3.0
2017-10-26T22:53:23.920Z
Yes there seems to be a way to push into a private registry hosted in gitlab itself. That looks neat.
MrR
CC BY-SA 3.0
2017-10-19T15:54:39.970Z
2017-10-19T15:54:39.970Z
mico
<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>

CC BY-SA 3.0
2017-10-18T00:01:20.430Z
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?
Dan Cornilescu
CC BY-SA 3.0
2017-10-18T16:37:48.470Z
What did you try?
030
CC BY-SA 3.0
2017-12-04T01:24:45.020Z
@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.
MrR
<docker><git><gitlab>
Automatic Docker Hub builds from GitLAB, not github
MrR
# 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**: @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.  

---

## 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.  

---

