Sheffield Web Programmer

Gitlab Runner Docker Hub Push

November 29, 2019

To push to your docker hub registry. first change the gitlab-runner password.

sudo su
passwd gitlab-runner

generate a token on docker hub Account Setings> New Access Token.

Login as the gitlab-runner user

su gitlab-runner

and following the instruction docker hub e.g

docker login --username rjgallac

then enter the password token you generated on git hub