forked from Ivasoft/github-actions
Use higher docker API version to get mounts
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -133,7 +133,7 @@ func trace(cmd *exec.Cmd) {
|
|||||||
|
|
||||||
func getWorkDirPath(p Plugin, ctx context.Context) (string, string, error) {
|
func getWorkDirPath(p Plugin, ctx context.Context) (string, string, error) {
|
||||||
// Connect to the docker
|
// Connect to the docker
|
||||||
docker, err := docker.NewClient("unix://" + daemon.StdDockerSocketPath, "v1.13.1", nil, nil)
|
docker, err := docker.NewClient("unix://" + daemon.StdDockerSocketPath, "v1.40", nil, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", "", errors.Wrap(err, "failed to create docker client")
|
return "", "", errors.Wrap(err, "failed to create docker client")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user