File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : unified-search-app
2+ pool :
3+ vmImage : ubuntu-latest
4+
5+ trigger :
6+ batch : true
7+ branches :
8+ include :
9+ - main
10+ path :
11+ include :
12+ - unified-search-app
13+
14+
15+ stages :
16+ - stage : Build_deploy
17+ dependsOn : []
18+ jobs :
19+ - job : build
20+ displayName : Build and deploy
21+ pool :
22+ vmImage : ubuntu-latest
23+ steps :
24+ - task : UsePythonVersion@0
25+ inputs :
26+ versionSpec : " 3.11"
27+ displayName : " Use Python 3.11"
28+
29+ - task : Docker@2
30+ inputs :
31+ containerRegistry : ' $(containerRegistry)'
32+ repository : ' main'
33+ command : ' buildAndPush'
34+ Dockerfile : ' Dockerfile'
35+ tags : ' latest'
36+ - task : AzureAppServiceManage@0
37+ inputs :
38+ azureSubscription : ' $(subscription)'
39+ Action : ' Restart Azure App Service'
40+ WebAppName : ' $(webApp)'
You can’t perform that action at this time.
0 commit comments