Pipeline failing due to certificate issue

I have a 3 node setup on RKE behind a L4 nginx LB.
Everything was working fine (deployed gitlab-ce) until i set up a pipeline to deploy my app.
It gives me below error in build stage.

Step 1/13 : FROM node:12.16.3-alpine as build
Get https://registry-1.docker.io/v2/: x509: certificate is valid for ingress.local, not registry-1.docker.io
time=“2020-06-02T04:52:39Z” level=fatal msg=“exit status 1”

I’m using self signed certificate from files option right now. But I can confirm the same error happened when I was using cert-manager option as well.


I have the same issue. Anyone that have a solution PLEASE!!!

Thanks in advance.