Newsbot.Collector/.drone.yml

41 lines
677 B
YAML
Raw Normal View History

2023-06-12 17:37:40 -07:00
---
kind: pipeline
type: docker
name: build
steps:
- name: build image
image: plugins/docker
2023-06-13 22:26:28 -07:00
environment:
PAT:
from_secret: GiteaPat
2023-06-12 17:37:40 -07:00
settings:
2023-06-13 22:09:47 -07:00
repo: git.jamestombleson.com/jtom38/newsbot-collector
registry: git.jamestombleson.com
2023-06-13 22:26:28 -07:00
username: jtom38
password: $PAT
2023-06-12 17:37:40 -07:00
tags:
- latest
2023-06-13 22:09:47 -07:00
- master
2023-06-12 17:37:40 -07:00
trigger:
branch:
2023-06-13 21:37:32 -07:00
include:
- master
event:
exclude:
- pull_request
2023-06-12 17:37:40 -07:00
---
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