mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-05 14:55:44 +00:00
Support specifying command for services (#50)
This PR is to support overwriting the default `CMD` command of `services` containers. This is a Gitea specific feature and GitHub Actions doesn't support this syntax. Reviewed-on: https://gitea.com/gitea/act/pulls/50 Reviewed-by: Jason Song <[email protected]> Co-authored-by: Zettat123 <[email protected]> Co-committed-by: Zettat123 <[email protected]>
This commit is contained in:
1 parent
721857e4a0
commit
0c1f2edb99
3 files changed
+11
No files matched your search
@@ -522,6 +522,9 @@ type ContainerSpec struct {
|
||||
Args string
|
||||
Name string
|
||||
Reuse bool
|
||||
|
||||
// Gitea specific
|
||||
Cmd []string `yaml:"cmd"`
|
||||
}
|
||||
|
||||
// Step is the structure of one step in a job
|
||||
|
||||
Reference in new issue
Block a user