From e6886fdd427d958526661f08c26f48210c8b0c02 Mon Sep 17 00:00:00 2001 From: sillyguodong Date: Tue, 4 Jul 2023 14:45:28 +0800 Subject: [PATCH] fix --- go.mod | 3 +-- internal/pkg/config/config.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 3d8340d..04d5e54 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/internal/pkg/config/config.go b/internal/pkg/config/config.go index 225a45c..06c4510 100644 --- a/internal/pkg/config/config.go +++ b/internal/pkg/config/config.go @@ -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.