refactor: move self-contained to csproj

This commit is contained in:
Collin Barrett 2025-05-26 21:10:49 -05:00 committed by Collin Barrett
parent ca8e73588e
commit cb4c596366
2 changed files with 2 additions and 1 deletions

View file

@ -55,7 +55,7 @@ jobs:
- name: Publish & Push
if: github.event_name == 'push'
run: >
dotnet publish --sc
dotnet publish
-p:PublishProfile=DefaultContainer
-p:ContainerRegistry=${{ env.CONTAINER_REGISTRY }}
-p:ContainerRepository=${{ env.CONTAINER_REPOSITORY }}

View file

@ -6,6 +6,7 @@
<PropertyGroup>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<SelfContained>true</SelfContained>
<PublishReadyToRunComposite>true</PublishReadyToRunComposite>
<ContainerBaseImage>mcr.microsoft.com/dotnet/runtime-deps:8.0-jammy-chiseled-extra</ContainerBaseImage>
<ContainerRuntimeIdentifier>linux-x64</ContainerRuntimeIdentifier>