Checking out code from


Hi all,
I’m new to circleci; pardon me if I’m missing something basic here but I couldn’t find it in the docs.

I’m trying to checkout code from github.

The documentation for the “checkout” step says that “If you require doing git over HTTPS you should not use this step as it configures git to checkout over ssh.” And indeed, when I use it in my config.yml, it’s not able to verify’s certificate

  - checkout

The authenticity of host ' (' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)?

Is there a recommended way around this?

This is a link to this build:

Strangely, when I used the pre-built nodejs docker image, the checkout step moved on with a warning.


I figured out what the problem was. Posting here in case someone else runs into the same issue:
I was using a Docker image that used the circleci official android image and then added something else on top of it, but while doing so, the USER was set to root.

The solution was to set USER to circleci at the end of the Dockerfile.

Good day!

closed #3

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.