Merge pull request 'Adding back drone ci, went missing' (#2) from features/ci/add-drone-ci into master
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
Reviewed-on: #2
This commit is contained in:
commit
db6f140858
32
.drone.yml
Normal file
32
.drone.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: build
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: 192.168.1.196:5000/jtom38/newsbot-collector
|
||||||
|
registry: 192.168.1.196:5000
|
||||||
|
insecure: true
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: compile
|
||||||
|
steps:
|
||||||
|
- name: Compile project
|
||||||
|
image: mcr.microsoft.com/dotnet/sdk:7.0.103
|
||||||
|
commands:
|
||||||
|
- dotnet restore
|
||||||
|
- dotnet build
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
|
Loading…
Reference in New Issue
Block a user