mirror of
https://gitea.com/gitea/act_runner.git
synced 2024-12-27 19:38:20 +01:00
ec38401097
Follow https://gitea.com/gitea/act/pulls/60, https://gitea.com/gitea/act/pulls/64 This PR adds the `valid_volumes` configuration. `valid_volumes` is a sequence containing the volumes (including bind mounts) that can be mounted to the container. By default, `valid_volumes` is empty, which means that no volumes can be mounted. Users can specify multiple valid volumes and [glob](https://github.com/gobwas/glob) is supported. All volumes will be allowed when using `exec` to run workflows locally. Reviewed-on: https://gitea.com/gitea/act_runner/pulls/226 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: Jason Song <i@wolfogre.com> Co-authored-by: Zettat123 <zettat123@gmail.com> Co-committed-by: Zettat123 <zettat123@gmail.com>
93 lines
4.1 KiB
Modula-2
93 lines
4.1 KiB
Modula-2
module gitea.com/gitea/act_runner
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
code.gitea.io/actions-proto-go v0.3.0
|
|
code.gitea.io/gitea-vet v0.2.3-0.20230113022436-2b1561217fa5
|
|
github.com/avast/retry-go/v4 v4.3.1
|
|
github.com/bufbuild/connect-go v1.3.1
|
|
github.com/docker/docker v23.0.6+incompatible
|
|
github.com/joho/godotenv v1.5.1
|
|
github.com/mattn/go-isatty v0.0.18
|
|
github.com/nektos/act v0.0.0
|
|
github.com/sirupsen/logrus v1.9.2
|
|
github.com/spf13/cobra v1.7.0
|
|
github.com/stretchr/testify v1.8.2
|
|
golang.org/x/term v0.8.0
|
|
golang.org/x/time v0.1.0
|
|
google.golang.org/protobuf v1.28.1
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
gotest.tools/v3 v3.4.0
|
|
)
|
|
|
|
require (
|
|
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
|
|
github.com/Masterminds/semver v1.5.0 // indirect
|
|
github.com/Microsoft/go-winio v0.5.2 // indirect
|
|
github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 // indirect
|
|
github.com/acomagu/bufpipe v1.0.4 // indirect
|
|
github.com/cloudflare/circl v1.3.3 // indirect
|
|
github.com/containerd/containerd v1.6.20 // indirect
|
|
github.com/creack/pty v1.1.18 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/docker/cli v24.0.1+incompatible // indirect
|
|
github.com/docker/distribution v2.8.2+incompatible // indirect
|
|
github.com/docker/docker-credential-helpers v0.7.0 // indirect
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/emirpasic/gods v1.18.1 // indirect
|
|
github.com/fatih/color v1.15.0 // indirect
|
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
|
github.com/go-git/go-billy/v5 v5.4.1 // indirect
|
|
github.com/go-git/go-git/v5 v5.7.0 // indirect
|
|
github.com/gobwas/glob v0.2.3 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/google/go-cmp v0.5.9 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
|
github.com/imdario/mergo v0.3.15 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
github.com/julienschmidt/httprouter v1.3.0 // indirect
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
|
github.com/klauspost/compress v1.15.12 // indirect
|
|
github.com/kr/pretty v0.3.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-runewidth v0.0.14 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/moby/buildkit v0.11.6 // indirect
|
|
github.com/moby/patternmatcher v0.5.0 // indirect
|
|
github.com/moby/sys/sequential v0.5.0 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b // indirect
|
|
github.com/opencontainers/runc v1.1.5 // indirect
|
|
github.com/opencontainers/selinux v1.11.0 // indirect
|
|
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/rhysd/actionlint v1.6.24 // indirect
|
|
github.com/rivo/uniseg v0.4.4 // indirect
|
|
github.com/robfig/cron v1.2.0 // indirect
|
|
github.com/sergi/go-diff v1.2.0 // indirect
|
|
github.com/skeema/knownhosts v1.1.1 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/stretchr/objx v0.5.0 // indirect
|
|
github.com/timshannon/bolthold v0.0.0-20210913165410-232392fc8a6a // indirect
|
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
|
go.etcd.io/bbolt v1.3.7 // indirect
|
|
golang.org/x/crypto v0.9.0 // indirect
|
|
golang.org/x/net v0.10.0 // indirect
|
|
golang.org/x/sync v0.1.0 // indirect
|
|
golang.org/x/sys v0.8.0 // indirect
|
|
golang.org/x/tools v0.8.0 // indirect
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
)
|
|
|
|
replace github.com/nektos/act => gitea.com/gitea/act v0.246.1-0.20230616052401-a165e17878fd
|