ci: publish only the web application container
All checks were successful
Caddy Manager CI build / docker (push) Successful in 2m45s

Disable container support for tests and bump the application version to
1.2.1.
This commit is contained in:
2026-07-26 20:02:13 +07:00
parent 9f7cb79bad
commit 4c271241d7
3 changed files with 16 additions and 4 deletions

View File

@@ -6,6 +6,16 @@
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<!--
The test SDK makes this project an executable, so a solution wide
`dotnet publish /t:PublishContainer` containerizes it alongside the web app, pushes both
to the same repository and tag, and lets the last one to finish win. That shipped an
image whose entrypoint was the test assembly, which exits 0 without output, so the
container looked like it started and stopped for no reason.
The pipelines publish the web app project explicitly; this keeps a solution wide publish
from ever producing an image from the tests again.
-->
<EnableSdkContainerSupport>false</EnableSdkContainerSupport>
</PropertyGroup>
<ItemGroup>