Compare commits

...

2 Commits

Author SHA1 Message Date
f410f69e9d Only report failures
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-24 12:46:33 +02:00
036f4d1dfc Fix Dockerfile for nbgv 2024-08-24 12:46:27 +02:00
4 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
**/.classpath
**/.dockerignore
**/.env
**/.git
#**/.git
**/.gitignore
**/.project
**/.settings

View File

@@ -67,8 +67,7 @@ steps:
to:
from_secret: telegram_user_id
when:
status:
- success
status:
- failure
depends_on:
- compile

View File

@@ -9,9 +9,9 @@ EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["WebApi.csproj", "src/WebApi/"]
COPY ["src/WebApi/WebApi.csproj", "src/WebApi/"]
RUN dotnet restore "./src/WebApi/WebApi.csproj"
COPY . src/WebApi
COPY . .
WORKDIR "/src/src/WebApi"
RUN dotnet build "./WebApi.csproj" -c $BUILD_CONFIGURATION -o /app/build

View File

@@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
README.md = README.md
.drone.yml = .drone.yml
version.json = version.json
Dockerfile = Dockerfile
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{437DE053-1DAB-4EEF-BEA6-E3B5179692F8}"