hub-feedback
hub-feedback copied to clipboard
Please integrate with GitLab.com
Hi.
Since Gitlab already provides their hosted service for git repositories it would be great to have Docker Hub being integrated with Gitlab.com. Right now I have to mirror my repo with Dockerfile on Github or Bitbucket to be able to have automated builds.
It is already in progress :)
@kencochrane great! Thanks for the info. :wink:
Do we have an ETA of this integration? Would love to move to hosted docker hub if gitlab support is available
+1 on giving an eta :) we have had to split our repos between bb and github. If we can get better GL integration it would be a dream come true <3
Paging @mattsoldo so he can give an eta.
+1
Any update on this issue?
:+1:
+1
@kencochrane Will this work with private hosted GitLabs to or only with the main one? Or same question just different, do you plan on adding support for plain git like quay.io does?
@pchico83 @dustinlacewell @caervs Can you answer those questions?
Thanks for the feedback! We are actively expanding our list of supported source providers on both Docker Hub and Docker Cloud and are targeting support for GitLab later in 2016.
Re: linking to a custom Git repository, we are happy to explore this option as well. Please upvote here to indicate interest in this feature, which will help us prioritize accordingly.
+1 It would be nice to have Gitlab integration, but a custom git solution might be more generic.
I guess we don't need Docker Hub for GitLab any more... https://about.gitlab.com/2016/05/23/gitlab-container-registry/ ;)
would prefer to use docker.io with gitlabs registry. but dockerhub should also support generic git repos
the container-registry on gitlab doesn't really help, the main purpose for adding gitlab support for me is the automated build. i would love to only edit the dockerfile in my gitlab repo and the image gets automatically build by docker hub
Any update on this issue? (An earlier post mentioned later in 2016, and now we're in a very early 2017)
+1
+1
+1 any update on this?
@c33s gitlab CI offers automatic building and uploading to the registry, much like dockerhub with github integration. it's done by putting the regular build and push commands in a CI dot-file in the repository instead of magically done by the registry through a push webhook, but the end result is the same: push to gitlab ---> automatically update the image in the registry.
see https://about.gitlab.com/2016/05/23/gitlab-container-registry/ ("Use with Gitlab CI" at the bottom)
I just tested this and it works fine.
Their sample .yml is not ideal, for clarity's sake here's mine:
build_image:
image: docker:git
services:
- docker:dind
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
- docker build -t registry.gitlab.com/my-group/my-project .
- docker push registry.gitlab.com/my-group/my-project:latest
only:
- master
Thanks @hraban
@kencochrane Any update on this? As some of the previous commenters have mentioned this was opened in 2015 with the feature to be added in 2016. It is now 2017 and there is still no real news. It would be great to have gitlab as an option for been a linked account just like github and bitbucket is.
Does anyone know if this is still in the works?
up
@kencochrane @pkennedyr @pchico83 no news on this?
Any news on this? For now I figured out a solution similar to @hraban, but complete integration would be great.
@kencochrane Anything new on this?
FYI my .gitlab-ci.yml (using a private gitlab runner) that will start building everytime a branch is changed.
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
build:
stage: build
script:
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG
docker cloud will no more since 21 may! ja! so in any case never was sense in "made inside other"!
so this issue has no importance any more!
@mckaygerhard Docker Hub != Docker Cloud https://www.quora.com/Whats-the-difference-between-Docker-Cloud-and-Docker-Hub
/giphy waiting