Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitlab-Runner | x509: certificate signed by unknown authority

I'm trying to build then push image on gitlab container registry but i found below issue i'm using on premise Gitlab instance and the Gitlab runner is ubuntu that using shell executor I appreciate if someone can help to solve this issue Thanks a lot in advance

gitlab-runner config.toml

like image 843
Yassen Fouad Anis Avatar asked Oct 14 '25 18:10

Yassen Fouad Anis


1 Answers

Edit the daemon.json file, whose default location is /etc/docker/daemon.json inside gitlab-runner:

{
  "insecure-registries" : ["gitlab.example.com:5050"]
}
like image 56
Telinov Dmitri Avatar answered Oct 17 '25 19:10

Telinov Dmitri