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: