aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml19
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