Newsbot.Portal/.drone.yml

33 lines
513 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:
- 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