James Tombleson
0d61cdf268
All checks were successful
continuous-integration/drone/pr Build is passing
36 lines
557 B
YAML
36 lines
557 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build
|
|
|
|
steps:
|
|
- name: build image
|
|
image: plugins/docker
|
|
settings:
|
|
repo: jtom38/newsbot-collector
|
|
username: jtom38
|
|
password:
|
|
from_secret: DockerPushPat
|
|
trigger:
|
|
branch:
|
|
include:
|
|
- main
|
|
- releases/*
|
|
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
|
|
|