Newsbot.Collector/.drone.yml
James Tombleson a3b33e4772
Some checks failed
continuous-integration/drone/pr Build is failing
loading password from drone secret
2023-06-13 22:20:15 -07:00

41 lines
677 B
YAML

---
kind: pipeline
type: docker
name: build
steps:
- name: build image
image: plugins/docker
environment:
PAT:
from_secret: GiteaPat
settings:
repo: git.jamestombleson.com/jtom38/newsbot-collector
registry: git.jamestombleson.com
username: jtom38
password: $PAT
tags:
- latest
- master
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