mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-06 07:10:28 +00:00
This patch adds a new command-line flag (`--rm`) to automatically stop workflow container(s), just prior to exit. The default behavior is kept, e.g.: the containers continue running at exit. Fixes: #694 Signed-off-by: Joseph Benden <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
2261204c65
commit
003c995b36
3 files changed
+20
-3
No files matched your search
@@ -34,6 +34,7 @@ type Input struct {
|
||||
githubInstance string
|
||||
containerCapAdd []string
|
||||
containerCapDrop []string
|
||||
autoRemove bool
|
||||
}
|
||||
|
||||
func (i *Input) resolve(path string) string {
|
||||
|
||||
Reference in new issue
Block a user