runner/cmd
Jason Song 3d78433564
Get outbound IP in multiple ways or disable cache server if failed to init (#74)
Fix #64 (incompletely).

It's still not ideal. It makes more sense to use the gateway IP address of container network as outbound IP of cache server. However, this requires act to cooperate, some think like:

- act creates the network for new container, and returns the network to runner.
- runner extracts the gateway IP in the network.
- runner uses the gateway IP as outbound IP, and pass it to act as cache server endpoint.
- act It continues to create the container with the created network.

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/74
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-04-05 00:53:35 +02:00
..
cmd.go Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
daemon.go Get outbound IP in multiple ways or disable cache server if failed to init (#74) 2023-04-05 00:53:35 +02:00
exec.go default actions URL is code.forgejo.org 2023-03-18 13:21:54 +01:00
register.go Clarify labels (#69) 2023-04-05 00:53:35 +02:00