Newsbot.Collector/.drone.yml
James Tombleson 63a5ce9947
All checks were successful
continuous-integration/drone/pr Build is passing
attempting to not build docker on pr
2023-06-13 21:37:32 -07:00

36 lines
570 B
YAML

---
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:
include:
- master
event:
exclude:
- pull_request
---
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