add ACT_EXEC

This commit is contained in:
Tomasz Duda 2023-06-19 20:43:31 +02:00
parent 054c8d912f
commit 581b730417

View file

@ -413,6 +413,8 @@ func runExec(ctx context.Context, execArgs *executeArgs) func(cmd *cobra.Command
ValidVolumes: []string{"**"}, // All volumes are allowed for `exec` command
}
config.Env["ACT_EXEC"] = "true"
if !execArgs.debug {
logLevel := log.Level(log.InfoLevel)
config.JobLoggerLevel = &logLevel