added a .drone.yml that probably won't work
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ed820f60fc
commit
5be60a4681
1 changed files with 35 additions and 0 deletions
35
.drone.yml
Normal file
35
.drone.yml
Normal file
|
@ -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
|
Loading…
Reference in a new issue