8000 Support for registries with self-signed certificates · docker login-action · Discussion #869 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support for registries with self-signed certificates #869

Answered by crazy-max
sudiptosarkar asked this question in Q&A
Discussion options

You must be logged in to vote

This action is just a wrapper around docker login and does not trust self-signed certificates by default. If you're using a GitHub public runner you can have a step before the login one that copies the self-signed cert to /etc/docker/certs.d/registry.x-force.int/ca.crt and restart docker with systemctl restart docker.

As runners have a hard dependency on the docker engine to startup service containers, we shouldn't have to manage certificates and interact with docker systemd unit as it would have unattended behavior if services are setup.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sudiptosarkar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #868 on May 16, 2025 13:25.

0