Skip to content

Commit 05a0617

Browse files
committed
build: update Makefile
1 parent 373b650 commit 05a0617

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ start:
55
nuget:
66
nuget pack -NoDefaultExcludes -OutputDirectory nupkg
77
publish:
8-
dotnet publish -c Release
8+
dotnet publish --os linux --arch x64 -c Release --self-contained
99
publish-to-hub:
10-
dotnet publish -c Release -p:ContainerRegistry=docker.io -p:ContainerImageName=iammukeshm/dotnet-webapi
10+
dotnet publish --os linux --arch x64 -c Release -p:ContainerRegistry=docker.io -p:ContainerImageName=iammukeshm/dotnet-webapi --self-contained
1111
tp: # terraform plan
1212
cd terraform/environments/staging && terraform plan
1313
ta: # terraform apply

0 commit comments

Comments
 (0)