Config for container network (#96)

Fix #66

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/96
Reviewed-by: Lunny Xiao <[email protected]>
This commit is contained in:
Jason Song committed 2023-04-04 14:32:01 +08:00
1 parent 7e7096e60b
commit df3cb60978
5 files changed
+15 -3

No files matched your search

+1
View File
@@ -74,6 +74,7 @@ func runDaemon(ctx context.Context, configFile *string) func(cmd *cobra.Command,
ForgeInstance: reg.Address,
Environ: cfg.Runner.Envs,
Labels: reg.Labels,
Network: cfg.Container.Network,
Version: version,
}