Skip to content

Commit

Permalink
Fix: Allow volume mounts on Windows agents
Browse files Browse the repository at this point in the history
Volumes are currently completely ignored
  • Loading branch information
julienduchesne committed Jun 9, 2021
1 parent 290741f commit 1350e33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ poller:
}

var mounts []mount.Mount
var volumes []string
volumes := i.volumes
switch i.os {
case "windows":
mounts = append(mounts, mount.Mount{
Expand All @@ -205,7 +205,7 @@ poller:
Type: mount.TypeNamedPipe,
})
default:
volumes = append(i.volumes,
volumes = append(volumes,
"/var/run/docker.sock:/var/run/docker.sock",
)

Expand Down

0 comments on commit 1350e33

Please sign in to comment.