diff --git a/.drone.yml b/.drone.yml index ff53952..86b2e55 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,30 +1,14 @@ pipeline: - dl-cache: - image: repo.shimun.net/drone-plugins/davfile - url: https://seaf.shimun.net/seafdav/Drone/cache/ - secrets: ["docker_username", "docker_password"] - file: ${DRONE_REPO_NAME}.tar.gz - secrets: ["dav_username", "dav_password"] - ex-cache: - image: repo.shimun.net/plugins/tar - dest: /drone/ - file: ${DRONE_REPO_NAME}.tar.gz - quiet: true + nginx-conf: + image: nginx:mainline + commands: + - cp nginx.conf /etc/nginx/ + - nginx -t docker: image: plugins/docker repo: repo.shimun.net/shimun/seafile registry: repo.shimun.net + storage_path: /drone/.docker secrets: ["docker_username", "docker_password"] - storage_path: /drone/docker + storage_path: /drone/.docker use_cache: true - mk-cache: - image: repo.shimun.net/plugins/tar - dest: ${DRONE_REPO_NAME}.tar.gz - file: /drone/docker - quiet: true - up-cache: - image: repo.shimun.net/plugins/davfile - url: https://seaf.shimun.net/seafdav/Drone/cache/ - upload: true - file: ${DRONE_REPO_NAME}.tar.gz - secrets: ["dav_username", "dav_password"]