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 **/.classpath
**/.dockerignore **/.dockerignore
**/.env **/.env
**/.git #**/.git
**/.gitignore **/.gitignore
**/.project **/.project
**/.settings **/.settings

View File

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

View File

@@ -9,9 +9,9 @@ EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release ARG BUILD_CONFIGURATION=Release
WORKDIR /src WORKDIR /src
COPY ["WebApi.csproj", "src/WebApi/"] COPY ["src/WebApi/WebApi.csproj", "src/WebApi/"]
RUN dotnet restore "./src/WebApi/WebApi.csproj" RUN dotnet restore "./src/WebApi/WebApi.csproj"
COPY . src/WebApi COPY . .
WORKDIR "/src/src/WebApi" WORKDIR "/src/src/WebApi"
RUN dotnet build "./WebApi.csproj" -c $BUILD_CONFIGURATION -o /app/build 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 README.md = README.md
.drone.yml = .drone.yml .drone.yml = .drone.yml
version.json = version.json version.json = version.json
Dockerfile = Dockerfile
EndProjectSection EndProjectSection
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{437DE053-1DAB-4EEF-BEA6-E3B5179692F8}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{437DE053-1DAB-4EEF-BEA6-E3B5179692F8}"