Hacking on Gitea Actions - Blog

Fri Mar 31, 2023 by wolfogre

This is a companion discussion topic for the original entry at https://blog.gitea.io/2023/03/hacking-on-gitea-actions/


Thank you for this useful tutorial.

Is it possible to register a runner when an auto signed certificate is used with gitea instance? Or should I use http instead?
I have this error when I try to register runner:
./act_runner register --no-interactive --instance https://gitea.local --token SF…
INFO Registering runner, arch=amd64, os=linux, version=v0.0.1-42-g7e7096e.
WARN Runner in user-mode.
INFO Runner name is empty, use hostname ‘gitea’.
ERRO Cannot ping the Gitea instance server error=“unavailable: tls: failed to verify certificate: x509: certificate signed by unknown authority”