Newsbot.Portal/.drone.yml

36 lines
554 B
YAML
Raw Permalink Normal View History

---
kind: pipeline
type: docker
name: build
steps:
- name: build image
image: plugins/docker
settings:
repo: jtom38/newsbot-portal
2023-06-15 22:08:24 -07:00
username: jtom38
password:
from_secret: DockerPushPat
trigger:
branch:
2023-06-15 21:59:41 -07:00
include:
2023-06-15 22:04:09 -07:00
- main
- releases/*
2023-06-15 21:59:41 -07:00
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