forked from Ivasoft/github-actions
This commit is contained in:
@@ -1,17 +1,22 @@
|
||||
--- "a/pkg/runner/run_context.go"
|
||||
+++ "b/pkg/runner/run_context.go"
|
||||
@@ -14,10 +14,8 @@ import (
|
||||
@@ -14,7 +14,6 @@
|
||||
"os"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
- "runtime"
|
||||
"strings"
|
||||
|
||||
- "github.com/opencontainers/selinux/go-selinux"
|
||||
|
||||
"github.com/nektos/act/pkg/common"
|
||||
"github.com/docker/go-connections/nat"
|
||||
@@ -22,7 +21,6 @@
|
||||
"github.com/nektos/act/pkg/container"
|
||||
@@ -142,14 +140,7 @@ func (rc *RunContext) GetBindsAndMounts() ([]string, map[string]string) {
|
||||
"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 {
|
||||
@@ -26,4 +31,4 @@
|
||||
+ // Bind done using --container-options command-line option
|
||||
} else {
|
||||
mounts[name] = ext.ToContainerPath(rc.Config.Workdir)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user