From 1fb196bce1c2edf3435c48efe2cd60f7076fe8bc Mon Sep 17 00:00:00 2001 From: henrik Date: Fri, 13 Dec 2024 19:06:55 +0100 Subject: [PATCH] Added gitversion config --- Dockerfile | 1 - GitVersion.yml | 4 ++++ Pushy.Silo/Pushy.Silo.csproj | 6 ------ 3 files changed, 4 insertions(+), 7 deletions(-) create mode 100644 GitVersion.yml diff --git a/Dockerfile b/Dockerfile index 0d107dd..2aae4e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,5 +37,4 @@ RUN dotnet publish "Pushy.csproj" -c $BUILD_CONFIGURATION -o /app/publish/pushy FROM base AS final WORKDIR /app COPY --from=publish /app/publish . -RUN ls -la ENTRYPOINT ["dotnet"] diff --git a/GitVersion.yml b/GitVersion.yml new file mode 100644 index 0000000..4362375 --- /dev/null +++ b/GitVersion.yml @@ -0,0 +1,4 @@ +branches: + main: + regex: ^master$|^main$ + mode: ContinuousDelivery \ No newline at end of file diff --git a/Pushy.Silo/Pushy.Silo.csproj b/Pushy.Silo/Pushy.Silo.csproj index c58f821..2f8f33a 100644 --- a/Pushy.Silo/Pushy.Silo.csproj +++ b/Pushy.Silo/Pushy.Silo.csproj @@ -19,10 +19,4 @@ - - - - .dockerignore - -