36 lines
539 B
YAML
36 lines
539 B
YAML
---
|
|
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
|