From b23fbb2957269456ca5340e44a39391163a5aa6d Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Thu, 23 Jan 2020 21:25:02 +0000 Subject: [PATCH] fix? --- .drone.yml | 2 +- drone/common/dockerHost.dhall | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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 } }