support for remote tmate servers

This commit is contained in:
Brad Rydzewski
2020-11-20 16:47:52 -05:00
parent 9466e54a6c
commit 00b690ce8c
7 changed files with 55 additions and 13 deletions

View File

@@ -144,6 +144,10 @@ func (c *daemonCommand) run(*kingpin.ParseContext) error {
Tmate: compiler.Tmate{
Image: config.Tmate.Image,
Enabled: config.Tmate.Enabled,
Server: config.Tmate.Server,
Port: config.Tmate.Port,
RSA: config.Tmate.RSA,
ED25519: config.Tmate.ED25519,
},
Environ: provider.Combine(
provider.Static(config.Runner.Environ),