Added gitversion config

This commit is contained in:
henrik
2024-12-13 19:06:55 +01:00
parent bf89d63aec
commit 1fb196bce1
3 changed files with 4 additions and 7 deletions

View File

@@ -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"]

4
GitVersion.yml Normal file
View File

@@ -0,0 +1,4 @@
branches:
main:
regex: ^master$|^main$
mode: ContinuousDelivery

View File

@@ -19,10 +19,4 @@
<ItemGroup>
<ProjectReference Include="..\Pushy.Domain\Pushy.Domain.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="..\.dockerignore">
<Link>.dockerignore</Link>
</Content>
</ItemGroup>
</Project>