Fetch the repository succeeded.
build:
dotnet build
start:
dotnet run --project src/Host/Host.csproj
nuget:
nuget pack -NoDefaultExcludes -OutputDirectory nupkg
publish:
dotnet publish --os linux --arch x64 -c Release --self-contained
publish-to-hub:
dotnet publish --os linux --arch x64 -c Release -p:ContainerRegistry=docker.io -p:ContainerImageName=iammukeshm/dotnet-webapi --self-contained
tp: # terraform plan
cd terraform/environments/staging && terraform plan
ta: # terraform apply
cd terraform/environments/staging && terraform apply
td: # terraform destroy
cd terraform/environments/staging && terraform destroy
dcu: # docker-compose up : webapi + postgresql
cd docker-compose/ && docker-compose -f docker-compose.postgresql.yml up -d
dcd: # docker-compose down : webapi + postgresql
cd docker-compose/ && docker-compose -f docker-compose.postgresql.yml down
fds: # force rededeploy aws ecs service
aws ecs update-service --force-new-deployment --service dotnet-webapi --cluster fullstackhero
gw: # git docker workflow to push docker image to the repository based on the main branch
@echo triggering github workflow to push docker image to container
@echo ensure that you have the gh-cli installed and authenticated.
gh workflow run dotnet-cicd -f push_to_docker=true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。