Change .gitlab-ci and dockerfile to fit the new project structure

This commit is contained in:
runebaas 2020-08-08 22:33:02 +02:00
parent fc0af492ad
commit 61ce14a61d
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ stages:
- ops
variables:
VERSION: 4.2.0-$CI_COMMIT_SHORT_SHA
VERSION: 4.3.0-$CI_COMMIT_SHORT_SHA
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
Build:
@ -18,7 +18,7 @@ Build:
script:
- dotnet restore
- dotnet test Tests
- dotnet publish --version-suffix $VERSION -r linux-x64 -c Release -o ./app ./Geekbot.net/
- dotnet publish --version-suffix $VERSION -r linux-x64 -c Release -o ./app ./src/Bot/
Package:
stage: docker

View file

@ -4,4 +4,4 @@ COPY ./app /app/
EXPOSE 12995/tcp
WORKDIR /app
ENTRYPOINT ./Geekbot.net
ENTRYPOINT ./Geekbot