From 4d57b70206dad0f299c270de6f2153bee5b24c99 Mon Sep 17 00:00:00 2001 From: Michael Gibson Date: Tue, 30 Jun 2020 14:06:17 -0500 Subject: [PATCH] Remove workaround for cloning. --- .drone.yml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/.drone.yml b/.drone.yml index 47847fe..b17bf8c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,19 +3,11 @@ kind: pipeline type: docker name: default -clone: - disable: true - steps: - - name: clone - image: alpine/git - commands: - - nslookup git.thegibsonhome.net - - echo 192.168.128.15 git.thegibsonhome.net >> /etc/hosts - - git clone https://git.thegibsonhome.net/docker/protonmail-bridge.git/ . - - git checkout $DRONE_COMMIT - name: build image: plugins/docker + environment: + DOCKER settings: registry: registry.thegibsonhome.net username: @@ -36,15 +28,7 @@ kind: pipeline type: docker name: tag -clone: - disable: true - steps: - - name: clone - image: alpine/git - commands: - - git clone https://git.thegibsonhome.net/docker/protonmail-bridge.git/ . - - git checkout $DRONE_COMMIT - name: build image: plugins/docker settings: