Error on launching Gitea Actions job with "uses"

I have local Gitea instance and runner in two Docker containers. Runner works absolutely normally if I don’t intend to use other packages (i.e. just "echo"ing works). However, when I try to import anything in “uses” (for example “actions/checkout@v3”), job crashes on startup with a following error:

failed to get available clone url of [actions/checkout@v3] action, error: Get “actions/checkout: Mirror of - checkout - Gitea: Git with a cup of tea”: tls: failed to verify certificate: x509: certificate signed by unknown authority

I’ve tried disabling any tls verification i could find, but it doesn’t change anything. I also tried loading a github variant of the checkout, and it didn’t work either.

Fixed it by adding to my docker-copose into volumes another one:

  • /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt
1 Like