diff --git a/.drone.yml b/.drone.yml index 2843068..cb8d2ca 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ steps: name: "build image xena/kubermemes" volumes: - name: dockersock - path: /var/run + path: /var/run/docker.sock type: docker volumes: - host: diff --git a/drone/common/dockerHost.dhall b/drone/common/dockerHost.dhall index ead806b..401be94 100644 --- a/drone/common/dockerHost.dhall +++ b/drone/common/dockerHost.dhall @@ -1,8 +1,10 @@ let drone = ../types.dhall +let path = "/var/run/docker.sock" + in { pipeline = drone.Volume::{ , name = "dockersock" - , host = Some drone.HostVolume::{ path = "/var/run/docker.sock" } + , host = Some drone.HostVolume::{ path = path } } - , step = drone.StepVolume::{ name = "dockersock", path = "/var/run" } + , step = drone.StepVolume::{ name = "dockersock", path = path } }