Change .gitlab-ci and dockerfile to fit the new project structure
This commit is contained in:
parent
fc0af492ad
commit
61ce14a61d
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ stages:
|
||||||
- ops
|
- ops
|
||||||
|
|
||||||
variables:
|
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
|
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
|
@ -18,7 +18,7 @@ Build:
|
||||||
script:
|
script:
|
||||||
- dotnet restore
|
- dotnet restore
|
||||||
- dotnet test Tests
|
- 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:
|
Package:
|
||||||
stage: docker
|
stage: docker
|
||||||
|
|
|
@ -4,4 +4,4 @@ COPY ./app /app/
|
||||||
|
|
||||||
EXPOSE 12995/tcp
|
EXPOSE 12995/tcp
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENTRYPOINT ./Geekbot.net
|
ENTRYPOINT ./Geekbot
|
||||||
|
|
Loading…
Reference in a new issue