mirror of
https://gitea.com/gitea/act_runner
synced 2026-11-16 10:26:22 +01: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 <i@wolfogre.com> Co-authored-by: Zettat123 <zettat123@gmail.com> Co-committed-by: Zettat123 <zettat123@gmail.com>
This commit is contained in:
1 parent
721857e4a0
commit
0c1f2edb99
3 files changed
+11
No files matched your search
@@ -168,6 +168,7 @@ type ContainerSpec struct {
|
||||
Volumes []string `yaml:"volumes,omitempty"`
|
||||
Options string `yaml:"options,omitempty"`
|
||||
Credentials map[string]string `yaml:"credentials,omitempty"`
|
||||
Cmd []string `yaml:"cmd,omitempty"`
|
||||
}
|
||||
|
||||
type Strategy struct {
|
||||
|
||||
Reference in new issue
Block a user