From 22c3746cb0133781414f0bbd21251ada54735f86 Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 22 May 2019 22:36:10 +0800 Subject: [PATCH] modify --- .drone.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 44fb61f..e90ac2e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,15 +1,16 @@ kind: pipeline name: build + +clone: + depth: 50 + setps: - - name: clone - image: plugins/git - # Seems to be looking for an image? - recursive: true - name: docker image: plugins/docker - registry: docker.mtfos.xyz - repo: docker.mtfos.xyz/mtfos/go-bot - dockerfile: Dockerfile - tags: [latest, "${DRONE_COMMIT}"] + settings: + registry: docker.mtfos.xyz + repo: docker.mtfos.xyz/mtfos/go-bot + dockerfile: Dockerfile + tags: [latest, "${DRONE_COMMIT}"] when: branch: master