Newsbot.Collector/.drone.yml

39 lines
598 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
settings:
repo: jtom38/newsbot-collector
2023-06-13 22:26:28 -07:00
username: jtom38
password:
from_secret: DockerPushPat
2023-06-12 17:37:40 -07:00
trigger:
branch:
2023-06-13 21:37:32 -07:00
include:
- main
- releases/*
ref:
include:
- refs/tags/**
2023-06-13 21:37:32 -07:00
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