Skip to content

Commit e16251b

Browse files
Merge pull request #599 from microsoft/hb-update-tag
refactor: Update container image tags to include version and output URLs for backend and frontend
2 parents f0c46e9 + 2736965 commit e16251b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

infra/main.bicep

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ param backendContainerRegistryHostname string = 'kmcontainerreg.azurecr.io'
101101
param backendContainerImageName string = 'km-api'
102102

103103
@description('Optional. The Container Image Tag to deploy on the backend.')
104-
param backendContainerImageTag string = 'latest_waf'
104+
param backendContainerImageTag string = 'latest_waf_2025-09-18_898'
105105

106106
@description('Optional. The Container Registry hostname where the docker images for the frontend are located.')
107107
param frontendContainerRegistryHostname string = 'kmcontainerreg.azurecr.io'
@@ -110,7 +110,7 @@ param frontendContainerRegistryHostname string = 'kmcontainerreg.azurecr.io'
110110
param frontendContainerImageName string = 'km-app'
111111

112112
@description('Optional. The Container Image Tag to deploy on the frontend.')
113-
param frontendContainerImageTag string = 'latest_waf'
113+
param frontendContainerImageTag string = 'latest_waf_2025-09-18_898'
114114

115115
@description('Optional. The tags to apply to all deployed Azure resources.')
116116
param tags resourceInput<'Microsoft.Resources/resourceGroups@2025-04-01'>.tags = {}
@@ -219,7 +219,7 @@ resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
219219
{
220220
TemplateName: 'KM Generic'
221221
CreatedBy: createdBy
222-
},
222+
},
223223
tags
224224
)
225225
}
@@ -1569,7 +1569,7 @@ output AZURE_EXISTING_AI_PROJECT_RESOURCE_ID string = existingAiFoundryAiProject
15691569
output APPLICATIONINSIGHTS_CONNECTION_STRING string = enableMonitoring ? applicationInsights!.outputs.connectionString : ''
15701570

15711571
@description('Contains API application URL.')
1572-
output API_APP_URL string = 'https://app-${solutionName}.azurewebsites.net'
1572+
output API_APP_URL string = 'https://api-${solutionSuffix}.azurewebsites.net'
15731573

15741574
@description('Contains web application URL.')
1575-
output WEB_APP_URL string = 'https://api-${solutionName}.azurewebsites.net'
1575+
output WEB_APP_URL string = 'https://app-${solutionSuffix}.azurewebsites.net'

infra/main.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.37.4.10188",
9-
"templateHash": "18295975344394141399"
9+
"templateHash": "15438166002668413819"
1010
}
1111
},
1212
"parameters": {
@@ -168,7 +168,7 @@
168168
},
169169
"backendContainerImageTag": {
170170
"type": "string",
171-
"defaultValue": "latest_waf",
171+
"defaultValue": "latest_waf_2025-09-18_898",
172172
"metadata": {
173173
"description": "Optional. The Container Image Tag to deploy on the backend."
174174
}
@@ -189,7 +189,7 @@
189189
},
190190
"frontendContainerImageTag": {
191191
"type": "string",
192-
"defaultValue": "latest_waf",
192+
"defaultValue": "latest_waf_2025-09-18_898",
193193
"metadata": {
194194
"description": "Optional. The Container Image Tag to deploy on the frontend."
195195
}
@@ -60138,14 +60138,14 @@
6013860138
"metadata": {
6013960139
"description": "Contains API application URL."
6014060140
},
60141-
"value": "[format('https://app-{0}.azurewebsites.net', parameters('solutionName'))]"
60141+
"value": "[format('https://api-{0}.azurewebsites.net', variables('solutionSuffix'))]"
6014260142
},
6014360143
"WEB_APP_URL": {
6014460144
"type": "string",
6014560145
"metadata": {
6014660146
"description": "Contains web application URL."
6014760147
},
60148-
"value": "[format('https://api-{0}.azurewebsites.net', parameters('solutionName'))]"
60148+
"value": "[format('https://app-{0}.azurewebsites.net', variables('solutionSuffix'))]"
6014960149
}
6015060150
}
6015160151
}

0 commit comments

Comments
 (0)