Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please integrate with GitLab.com #334

Open
thozza opened this issue Sep 4, 2015 · 92 comments
Open

Please integrate with GitLab.com #334

thozza opened this issue Sep 4, 2015 · 92 comments

Comments

@thozza
Copy link

thozza commented Sep 4, 2015

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.

@kencochrane
Copy link
Contributor

It is already in progress :)

@rrarunan rrarunan self-assigned this Sep 4, 2015
@thozza
Copy link
Author

thozza commented Sep 4, 2015

@kencochrane great! Thanks for the info. 😉

@anandchida
Copy link

Do we have an ETA of this integration? Would love to move to hosted docker hub if gitlab support is available

@Jonjoe
Copy link

Jonjoe commented Nov 28, 2015

+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

@kencochrane
Copy link
Contributor

Paging @mattsoldo so he can give an eta.

@joeldrapper
Copy link

+1

@ejaz-ahmed
Copy link

Any update on this issue?

@pgrm
Copy link

pgrm commented Jan 9, 2016

👍

1 similar comment
@jangorecki
Copy link

+1

@zwarag
Copy link

zwarag commented Apr 27, 2016

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

@kencochrane
Copy link
Contributor

@pchico83 @dustinlacewell @caervs Can you answer those questions?

@pkennedyr
Copy link
Contributor

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.

@jimador
Copy link

jimador commented May 20, 2016

+1 It would be nice to have Gitlab integration, but a custom git solution might be more generic.

@thozza
Copy link
Author

thozza commented May 26, 2016

I guess we don't need Docker Hub for GitLab any more... https://about.gitlab.com/2016/05/23/gitlab-container-registry/ ;)

@c33s
Copy link

c33s commented Aug 18, 2016

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

@DrChr
Copy link

DrChr commented Jan 10, 2017

Any update on this issue? (An earlier post mentioned later in 2016, and now we're in a very early 2017)

@czende
Copy link

czende commented Jan 20, 2017

+1

1 similar comment
@andreasunterhuber
Copy link

+1

@teodorescuserban
Copy link

+1
any update on this?

@hraban
Copy link

hraban commented Apr 15, 2017

@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

@Jonjoe
Copy link

Jonjoe commented Apr 16, 2017

Thanks @hraban

@TheYorkshireDev
Copy link

TheYorkshireDev commented Jul 12, 2017

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

screen shot 2017-07-12 at 20 02 37

Does anyone know if this is still in the works?

@mileo
Copy link

mileo commented Aug 15, 2017

up

@murbano83
Copy link

@kencochrane @pkennedyr @pchico83 no news on this?

@metalcamp
Copy link

Any news on this? For now I figured out a solution similar to @hraban, but complete integration would be great.

@RAYs3T
Copy link

RAYs3T commented Jan 29, 2018

@kencochrane Anything new on this?

@teodorescuserban
Copy link

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

@mckaygerhard
Copy link

mckaygerhard commented Apr 11, 2018

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!

@ovk
Copy link

ovk commented Feb 18, 2019

Wow, still not GitLab integration, unbelievable.

@0k00l
Copy link

0k00l commented Mar 2, 2019

bump

@PabloSzx
Copy link

up 😔

@dinigo
Copy link

dinigo commented Mar 19, 2019

I'm just leaving GitHub + dockerhub in favor of another better registry. Gitlab is the full stack I needed. Even though I'm a bit frustrated because of the lack of feedback in 3 years, I'm very grateful for the Docker team job

@ArjonBu
Copy link

ArjonBu commented Mar 31, 2019

Well, this sucks a lot. A better alternative would be quay.io. They support Gitlab too.

@rizerzero
Copy link

Still no updates on this?

@RAYs3T
Copy link

RAYs3T commented Jun 4, 2019

@ArjonBu Or just with GitLab itself. They provide a docker registry and build nodes.

@SuperElectron
Copy link

What's the status on gitlab support for this?

@robsonvn
Copy link

robsonvn commented Dec 7, 2019

what a joke

@robsonvn
Copy link

robsonvn commented Dec 7, 2019

moving away from docker hub

@robsonvn
Copy link

robsonvn commented Dec 7, 2019

Obama was still the CC of USA when this ticket was opened.

@robsonvn
Copy link

robsonvn commented Dec 7, 2019

4 days later the iPhone 6s and 6s Plus were released

@robsonvn
Copy link

robsonvn commented Dec 7, 2019

Uptown Funk was the 1st song in the Billboard hot list

@robsonvn
Copy link

robsonvn commented Dec 7, 2019

Facebook was still a thing

@robsonvn
Copy link

robsonvn commented Dec 7, 2019

Everyone was discussing whether the dress was white and gold or blue and black

@robsonvn
Copy link

robsonvn commented Dec 7, 2019

Left Shark was the meme of the year

@woodcockjosh
Copy link

omg spam

@marcoshuck
Copy link

it would be nice to have some sort of token registration instead of having to use an username and password for integrating dockerhub with gitlab.

@fasenderos
Copy link

fasenderos commented Jul 13, 2020

+1
Five years later, still not GitLab integration, embarrassing.

@ledleledle
Copy link

nowadays... 5 years passed. still no Gitlab integration

@jayjah
Copy link

jayjah commented Mar 23, 2021

greetings after 5 and a half, crazy that's still open ... But I think and hope(!) everyone found another, probably better solution :D

@github-actions
Copy link

We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days.

@github-actions github-actions bot added the Stale label Sep 20, 2021
@yookoala
Copy link

The feature is still missing.

@github-actions github-actions bot removed the Stale label Sep 21, 2021
@wonderu
Copy link

wonderu commented Oct 29, 2021

up

@github-actions
Copy link

We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days.

@github-actions github-actions bot added the Stale label Apr 28, 2022
@06kellyjac
Copy link

The feature is still missing.

@github-actions github-actions bot removed the Stale label Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests