diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..ad9be75 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,35 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: restore-target + image: drillster/drone-volume-cache + volumes: + - name: target + path: /target + settings: + restore: true + mount: + - ./target + +- name: build + image: mcr.microsoft.com/dotnet/core/sdk:3.1 + commands: + - dotnet build + +- name: rebuild-target + image: drillster/drone-volume-cache + volumes: + - name: target + path: /target + settings: + rebuild: true + mount: + - ./target + +volumes: +- name: target + host: + path: /tmp/snootalogue-target