This commit is contained in:
sillyguodong 2023-07-04 14:45:28 +08:00
parent ebde5995ff
commit e6886fdd42
No known key found for this signature in database
GPG key ID: 4A0646FA86256DF4
2 changed files with 2 additions and 3 deletions
go.mod
internal/pkg/config

3
go.mod
View file

@ -89,5 +89,4 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
)
// replace github.com/nektos/act => gitea.com/gitea/act v0.246.2-0.20230703034344-3813f40cba18
replace github.com/nektos/act => ../act
replace github.com/nektos/act => gitea.com/gitea/act v0.246.2-0.20230703034344-3813f40cba18

View file

@ -43,7 +43,7 @@ type Cache struct {
// Container represents the configuration for the container.
type Container struct {
Network string `yaml:"network"` // Network specifies the network for the container.
InheritDriverOpts []string `yaml:"inherit_driver_opts"` // InheritDiverOpts indicates the network created by act_runner whether inherit the dirver options of the default bridge network.
InheritDriverOpts []string `yaml:"inherit_driver_opts"` // InheritDiverOpts specifies which default bridge network driver options will be inherited by the network created by act_runner.
NetworkMode string `yaml:"network_mode"` // Deprecated: use Network instead. Could be removed after Gitea 1.20
Privileged bool `yaml:"privileged"` // Privileged indicates whether the container runs in privileged mode.
Options string `yaml:"options"` // Options specifies additional options for the container.