diff --git a/.drone.yml b/.drone.yml index 0520b2d..ff53952 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,30 @@ 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 docker: - image: plugins/docker - repo: repo.shimun.net/shimun/seafile - registry: repo.shimun.net - secrets: ["docker_username", "docker_password"] + image: plugins/docker + repo: repo.shimun.net/shimun/seafile + registry: repo.shimun.net + secrets: ["docker_username", "docker_password"] + 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"]