Can you please help me for configuring the jenkins docker build publish plugin. I have setup artifactory for docker repo and trying to push image build from github docker file.
Following is the error I am getting :
Error response from daemon: Invalid registry endpoint https://
https://artifactory.corp.inmobi.com/v1/:
Get https:// https://artifactory.corp.inmobi.com/v1/_ping: dial tcp: unknown port tcp/. \
If this private registry supports only HTTP or HTTPS with an unknown CA certificate, \
please add `--insecure-registry https:` to the daemon's arguments. \
In the case of HTTPS, if you have access to the registry's CA certificate, \
no need for the flag; simply place the CA certificate at /etc/docker/certs.d/ https:/ca.crt
Build step 'Docker build and publish' marked build as failure
Finished: FAILURE
docker
command directly to push to artifactory ? better to use certificated CA for your domain as well to avoid https problem. – Larry Cai