Commit 35fc2560 authored by Daniele Venzano's avatar Daniele Venzano

Try adding the certificate to the system

parent e7dc9207
......@@ -18,8 +18,8 @@ before_script:
- mkdir -p /etc/docker/certs.d/$DOCKER_REGISTRY
- cp /registry-ca.crt /etc/docker/certs.d/$DOCKER_REGISTRY/ca.crt
- find /etc/docker
- cat /etc/docker/certs.d/$DOCKER_REGISTRY/ca.crt
- find /var/log
- cp /registry-ca.crt /usr/local/share/ca-certificates/bf.crt
- update-ca-certificates
- docker login -u gitlab-ci-runner -p $REGISTRY_PASSWORD $DOCKER_REGISTRY
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment