cli exec: have uniq prefix for each workflow (#6716)

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
This commit is contained in:
6543
2026-06-14 09:29:35 +02:00
committed by GitHub
co-authored by qwerty287
parent d479dd452d
commit 54ec5b4986
+1 -2
View File
@@ -169,14 +169,13 @@ func runExec(ctx context.Context, c *cli.Command, yamls []*builder.YamlFile, rep
privilegedPlugins := c.StringSlice("plugins-privileged")
// emulate server prefix for volume/network naming
// prefix for the local-execution workspace volume name
prefix := "wp_" + ulid.Make().String()
// build compiler options — mirrors server behavior
compilerOpts := []compiler.Option{
compiler.WithEscalated(privilegedPlugins...),
compiler.WithNetworks(c.StringSlice("network")...),
compiler.WithPrefix(prefix),
compiler.WithProxy(compiler.ProxyOptions{
NoProxy: c.String("backend-no-proxy"),
HTTPProxy: c.String("backend-http-proxy"),