Commit 7ca15739 authored by Kamil Trzciński's avatar Kamil Trzciński

Don't cache Dockerfile VOLUMEs - it doesn't make sense to do

parent 037aaec7
......@@ -156,12 +156,6 @@ func (s *DockerExecutor) createVolumes(image *docker.Image, projectPath string)
s.addVolume(&binds, &volumesFrom, volume)
if image != nil {
for volume := range image.Config.Volumes {
s.addVolume(&binds, &volumesFrom, volume)
if s.Build.AllowGitFetch {
// take path of the projects directory,
// because we use `rm -rf` which could remove the mounted volume
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment