build tweaks

This commit is contained in:
Vincent Cloutier 2023-03-05 16:21:31 -05:00
parent 17540d07cc
commit 1044f601ba
2 changed files with 7 additions and 4 deletions

View file

@ -14,6 +14,7 @@ tasks:
dotnet test
- publish: |
cd bird.makeup
docker build . -t cloutier/bird.makeup:latest
docker push cloutier/bird.makeup:latest
cd bird.makeup/src/BirdsiteLive
dotnet publish --os linux --arch x64 /t:PublishContainer -c Release
docker tag cloutier/bird.makeup:1.0 cloutier/bird.makeup:latest
docker push cloutier/bird.makeup:latest

View file

@ -4,12 +4,14 @@
<TargetFramework>net6</TargetFramework>
<UserSecretsId>d21486de-a812-47eb-a419-05682bb68856</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<Version>0.20.0</Version>
<Version>1.0</Version>
<ContainerImageName>cloutier/bird.makeup</ContainerImageName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Lamar.Microsoft.DependencyInjection" Version="5.0.0" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.16.0" />
<PackageReference Include="Microsoft.NET.Build.Containers" Version="0.3.2" />
</ItemGroup>
<ItemGroup>