Newsbot.Portal/.drone.yml
James Tombleson fff06af8a4
All checks were successful
continuous-integration/drone/pr Build is passing
Helps to target the correct branches
2023-06-15 22:04:09 -07:00

38 lines
588 B
YAML

---
kind: pipeline
type: docker
name: build
steps:
- name: build image
image: plugins/docker
environment:
PAT:
from_secret: DockerPushPat
settings:
username: jtom38
password: $PAT
repo: jtom38/newsbot-portal
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