Fix patch
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-04-16 19:24:55 +02:00
parent d6a684c400
commit 9beebfaca9

View File

@@ -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)
}
}