Commit 2ee74d06 authored by Mike Shoup's avatar Mike Shoup

Add CI config for dotnet app

parent 0fc77319
......@@ -79,3 +79,17 @@ test_golang:
- docker run -d -p 8000:8000 $IMAGE_PATH:golang
- sleep 5
- wget -qO- http://docker:8000/hello | grep world
build_dotnet:
stage: build
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
- docker build --pull -t $IMAGE_PATH:dotnet -f dotnet/Dockerfile dotnet/
- docker push $IMAGE_PATH:dotnet
test_dotnet:
stage: test
script:
- docker run -d -p 8000:8000 $IMAGE_PATH:dotnet
- sleep 5
- wget -qO- http://docker:8000/hello | grep world
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment