--- "a/pkg/runner/run_context.go" +++ "b/pkg/runner/run_context.go" @@ -14,7 +14,6 @@ "os" "path/filepath" "regexp" - "runtime" "strings" "github.com/docker/go-connections/nat" @@ -22,7 +21,6 @@ "github.com/nektos/act/pkg/container" "github.com/nektos/act/pkg/exprparser" "github.com/nektos/act/pkg/model" - "github.com/opencontainers/selinux/go-selinux" ) // RunContext contains info about current job @@ -155,14 +153,7 @@ } if rc.Config.BindWorkdir { - bindModifiers := "" - if runtime.GOOS == "darwin" { - bindModifiers = ":delegated" - } - if selinux.GetEnabled() { - bindModifiers = ":z" - } - binds = append(binds, fmt.Sprintf("%s:%s%s", rc.Config.Workdir, ext.ToContainerPath(rc.Config.Workdir), bindModifiers)) + // Bind done using --container-options command-line option } else { mounts[name] = ext.ToContainerPath(rc.Config.Workdir) }