Update .woodpecker.yml #23

Open
trent wants to merge 58 commits from Warehouses into master
Showing only changes of commit f7926c78ad - Show all commits

View File

@@ -150,7 +150,9 @@ steps:
exit 0
fi
cat > NuGet.Config.docker <<EOF
rm -f NuGet.Config
cat > NuGet.Config <<EOF
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
@@ -180,7 +182,6 @@ steps:
EXPOSE 8080
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY NuGet.Config.docker ./NuGet.Config
COPY . .
RUN dotnet restore "%%PROJECTDIR%%/%%PROJECTNAME%%.csproj"
RUN dotnet publish "%%PROJECTDIR%%/%%PROJECTNAME%%.csproj" -c Release -o /app/publish /p:UseAppHost=false --no-restore