News for hackers. Stuff that matters.
Re:Take Gitlab to the command line with GLab, an open-source... by akerro on Thursday August 06, 2020 @04:39AM (#24069158)
I maintain a bunch of docker images that are purposed to run on gitlab ci, they are obviously hosted on github because only github has push-event integrations with docker hub.

I make a push, docker hub builds and publishes the image, the image is only pulled by gitlab ci.

Gitlab is great, but it lacks many popular integrations that must come from not-gitlab.

Re:Take Gitlab to the command line with GLab, an open-source... by Already__Taken on Thursday August 06, 2020 @07:31AM (#24070018)
I imagine that's an oversight of sorts because you could just build the images on gitlab too.
Re:Take Gitlab to the command line with GLab, an open-source... by akerro on Thursday August 06, 2020 @11:03AM (#24071527)
There are ways, but:

1. I need to run gitlab ci myself on my host(s)

2. My host must be logged in to docker hub

3. Gitlab CI must run as privileged container

4. There are more hacks required to let gitlabci build the image and push as me.

on github you just authorize docker-hub to get webhooks from github, and that's it, it does the rest itself.

Re:Take Gitlab to the command line with GLab, an open-source... by brodock on Thursday August 06, 2020 @08:06AM (#24070190)
Can't you build and push via CI?
Re:Take Gitlab to the command line with GLab, an open-source... by akerro on Thursday August 06, 2020 @11:03AM (#24071532)
Too lazy to do the setup on multiple computers
Re:Take Gitlab to the command line with GLab, an open-source... by mosselman on Thursday August 06, 2020 @05:47AM (#24069492)
Good point. I just thought it was funny, but it is good to know that there ARE differences other than branding.