From 27b1aa1db44900cdc339da85f69aaa2c969bef5b Mon Sep 17 00:00:00 2001 From: shimun Date: Sat, 22 Feb 2020 14:34:35 +0100 Subject: [PATCH] update drone yaml --- .drone.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index cc43f3a..8f60304 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,15 @@ -pipeline: - nginx-conf: +kind: pipeline +name: default +steps: + - name: nginx-conf image: nginx:mainline commands: - cp -r nginx /etc/nginx - nginx -t - docker: + - name: docker image: plugins/docker repo: repo.shimun.net/shimun/seafile - tag: riffol + auto_tag: true registry: repo.shimun.net storage_path: /drone/.docker secrets: ["docker_username", "docker_password"] @@ -15,3 +17,5 @@ pipeline: cache_from: ["repo.shimun.net/shimun/seafile", "repo.shimun.net/shimun/seafile:nginx-deb", "repo.shimun.net/shimun/seafile:alpine"] use_cache: true pull_image: false + when: + event: tag