Cache step will fail if no ca-certificates



The cache save/restore steps will fail if CA certificates are not installed in the docker image. You probably should warn about that, in similar way there is a warning about no git.

The error is quite confusing:

Skipping cache - error checking storage: RequestError: send request failed
caused by: Get x509: failed to load system roots and no roots provided


Awesome feedback. Opening a bug ticket internally.


Also git by https does not work if no CA certificates in the system/image.


I’m not sure if something has changed since this thread was started, but I just got bit by this in an entirely new way.

In a container without CA certificates the cache restore just runs forever (I have a build that ran for 67 hours before being canceled). The cache restore step would begin, then would enter an infinite loop with no output.