From 3306656c18e685c6ca91f5a66332e63fcc7f771f Mon Sep 17 00:00:00 2001
From: Roger Feese <rfeese@nebraska.edu>
Date: Thu, 27 May 2021 12:01:34 -0500
Subject: [PATCH] Added dotnet-build-server to ci config.

---
 .gitlab/ci/build.yml   | 14 ++++++++++++++
 .gitlab/ci/publish.yml | 14 ++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml
index 2625708..510859c 100644
--- a/.gitlab/ci/build.yml
+++ b/.gitlab/ci/build.yml
@@ -119,3 +119,17 @@ Make Detect Secrets:
       - detect-secrets/**/*
   except:
     - schedules
+
+Make dotnet-build-server:
+  stage: build
+  tags:
+    - linux
+    - dockerd
+  script:
+    - make dotnet
+  only:
+    changes:
+      - dotnet-build-server/*
+      - dotnet-build-server/**/*
+
+
diff --git a/.gitlab/ci/publish.yml b/.gitlab/ci/publish.yml
index 3d5d74f..c03e3b0 100644
--- a/.gitlab/ci/publish.yml
+++ b/.gitlab/ci/publish.yml
@@ -133,3 +133,17 @@ Publish Detect Secrets:
       - detect-secrets/**/*
   except:
     - schedules
+
+Publish dotnets:
+  <<: *push_to_registry
+  variables:
+    IMG_NAME: "dotnet-build-server"
+  needs: ["Make dotnet-build-server"]
+  only:
+    refs:
+      - master
+    changes:
+      - dotnet-build-server/*
+      - dotnet-build-server/**/*
+  except:
+    - schedules
-- 
GitLab