From ca4a84a2d62500e8b6f215a2ea96e41f77c21990 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 30 Apr 2018 09:47:39 +0800 Subject: [PATCH] chore: simplify docker build process. (#2827) * chore: simplify docker build process. * chore: update docker plugin. --- .drone.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7a7b8762d0..eafb2391fa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -238,16 +238,7 @@ pipeline: branch: [ master ] docker: - image: plugins/docker:17.05 - pull: true - secrets: [ docker_username, docker_password ] - repo: gitea/gitea - tags: [ '${DRONE_TAG##v}' ] - when: - event: [ tag ] - - docker: - image: plugins/docker:17.05 + image: plugins/docker:17.12 pull: true secrets: [ docker_username, docker_password ] repo: gitea/gitea @@ -257,14 +248,12 @@ pipeline: branch: [ release/* ] docker: - image: plugins/docker:17.05 + image: plugins/docker:17.12 pull: true - secrets: [ docker_username, docker_password ] repo: gitea/gitea - tags: [ 'latest' ] + default_tags: true when: - event: [ push ] - branch: [ master ] + event: [ push, tag ] release: image: plugins/s3:1