From 6805f0c9a0c2d4651afcfb23e805269c1f2f1571 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Mon, 12 Jun 2023 17:37:40 -0700 Subject: [PATCH] Adding back drone ci, went missing --- .drone.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..53131e0 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +--- +kind: pipeline +type: docker +name: build + +steps: + - name: build image + image: plugins/docker + settings: + repo: 192.168.1.196:5000/jtom38/newsbot-collector + registry: 192.168.1.196:5000 + insecure: true + tags: + - latest +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 + \ No newline at end of file