diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2018-04-30 09:47:39 +0800 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2018-04-30 03:47:39 +0200 |
commit | ca4a84a2d62500e8b6f215a2ea96e41f77c21990 (patch) | |
tree | 269cafd2c69c6367f9546e56973f69a55fc23158 /.drone.yml | |
parent | ff64f188fdb2c1abf74d51df145e60d5e9463fb1 (diff) | |
download | gitea-ca4a84a2d62500e8b6f215a2ea96e41f77c21990.tar.gz gitea-ca4a84a2d62500e8b6f215a2ea96e41f77c21990.zip |
chore: simplify docker build process. (#2827)
* chore: simplify docker build process.
* chore: update docker plugin.
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 19 |
1 files 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 |