Skip to content

Commit 70315eb

Browse files
fix: update container image tag to include date and versioning
1 parent 023e901 commit 70315eb

File tree

4 files changed

+13
-34
lines changed

4 files changed

+13
-34
lines changed

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ param gptDeploymentCapacity int = 100
7171
param publicContainerImageEndpoint string = 'cpscontainerreg.azurecr.io'
7272

7373
@description('Optional. The image tag for the container images.')
74-
param imageTag string = 'latest'
74+
param imageTag string = 'latest_2025-11-04_458'
7575

7676
@description('Optional. Enable WAF for the deployment.')
7777
param enablePrivateNetworking bool = false

infra/main.json

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.38.33.27573",
9-
"templateHash": "6402394764328053517"
9+
"templateHash": "13371003400994981566"
1010
},
1111
"name": "Content Processing Solution Accelerator",
1212
"description": "Bicep template to deploy the Content Processing Solution Accelerator with AVM compliance."
@@ -113,32 +113,11 @@
113113
"description": "Optional. The public container image endpoint."
114114
}
115115
},
116-
"appContainerImageName": {
117-
"type": "string",
118-
"defaultValue": "contentprocessor",
119-
"metadata": {
120-
"description": "Optional. The Container Image Name to deploy on the App Container App."
121-
}
122-
},
123-
"apiContainerImageName": {
124-
"type": "string",
125-
"defaultValue": "contentprocessorapi",
126-
"metadata": {
127-
"description": "Optional. The Container Image Name to deploy on the API Container App."
128-
}
129-
},
130-
"webContainerImageName": {
131-
"type": "string",
132-
"defaultValue": "contentprocessorweb",
133-
"metadata": {
134-
"description": "Optional. The Container Image Name to deploy on the Web Container App."
135-
}
136-
},
137-
"containerImageTag": {
116+
"imageTag": {
138117
"type": "string",
139118
"defaultValue": "latest_2025-11-04_458",
140119
"metadata": {
141-
"description": "Optional. The container image tag to use for all container apps."
120+
"description": "Optional. The image tag for the container images."
142121
}
143122
},
144123
"enablePrivateNetworking": {
@@ -40929,10 +40908,10 @@
4092940908
"dependsOn": [
4093040909
"avmContainerApp",
4093140910
"avmManagedIdentity",
40911+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
4093240912
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]",
40933-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
4093440913
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
40935-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
40914+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
4093640915
"logAnalyticsWorkspace",
4093740916
"virtualNetwork"
4093840917
]
@@ -45007,7 +44986,7 @@
4500744986
"value": [
4500844987
{
4500944988
"name": "[format('ca-{0}', variables('solutionSuffix'))]",
45010-
"image": "[format('{0}/{1}:{2}', parameters('publicContainerImageEndpoint'), parameters('appContainerImageName'), parameters('containerImageTag'))]",
44989+
"image": "[format('{0}/contentprocessor:{1}', parameters('publicContainerImageEndpoint'), parameters('imageTag'))]",
4501144990
"resources": {
4501244991
"cpu": 4,
4501344992
"memory": "8.0Gi"
@@ -46607,7 +46586,7 @@
4660746586
"value": [
4660846587
{
4660946588
"name": "[format('ca-{0}-api', variables('solutionSuffix'))]",
46610-
"image": "[format('{0}/{1}:{2}', parameters('publicContainerImageEndpoint'), parameters('apiContainerImageName'), parameters('containerImageTag'))]",
46589+
"image": "[format('{0}/contentprocessorapi:{1}', parameters('publicContainerImageEndpoint'), parameters('imageTag'))]",
4661146590
"resources": {
4661246591
"cpu": 4,
4661346592
"memory": "8.0Gi"
@@ -48293,7 +48272,7 @@
4829348272
"value": [
4829448273
{
4829548274
"name": "[format('ca-{0}-web', variables('solutionSuffix'))]",
48296-
"image": "[format('{0}/{1}:{2}', parameters('publicContainerImageEndpoint'), parameters('webContainerImageName'), parameters('containerImageTag'))]",
48275+
"image": "[format('{0}/contentprocessorweb:{1}', parameters('publicContainerImageEndpoint'), parameters('imageTag'))]",
4829748276
"resources": {
4829848277
"cpu": 4,
4829948278
"memory": "8.0Gi"
@@ -60408,7 +60387,7 @@
6040860387
"value": [
6040960388
{
6041060389
"name": "[format('ca-{0}', variables('solutionSuffix'))]",
60411-
"image": "[format('{0}/{1}:{2}', parameters('publicContainerImageEndpoint'), parameters('appContainerImageName'), parameters('containerImageTag'))]",
60390+
"image": "[format('{0}/contentprocessor:{1}', parameters('publicContainerImageEndpoint'), parameters('imageTag'))]",
6041260391
"resources": {
6041360392
"cpu": 4,
6041460393
"memory": "8.0Gi"
@@ -62007,7 +61986,7 @@
6200761986
"value": [
6200861987
{
6200961988
"name": "[format('ca-{0}-api', variables('solutionSuffix'))]",
62010-
"image": "[format('{0}/{1}:{2}', parameters('publicContainerImageEndpoint'), parameters('apiContainerImageName'), parameters('containerImageTag'))]",
61989+
"image": "[format('{0}/contentprocessorapi:{1}', parameters('publicContainerImageEndpoint'), parameters('imageTag'))]",
6201161990
"resources": {
6201261991
"cpu": 4,
6201361992
"memory": "8.0Gi"

infra/main.parameters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"value": "${AZURE_ENV_CONTAINER_REGISTRY_ENDPOINT}"
3737
},
3838
"imageTag": {
39-
"value": "${AZURE_ENV_CONTAINER_IMAGE_TAG}"
39+
"value": "${AZURE_ENV_CONTAINER_IMAGE_TAG=latest}"
4040
}
4141
}
4242
}

infra/main.waf.parameters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"value": "${AZURE_ENV_CONTAINER_REGISTRY_ENDPOINT}"
5252
},
5353
"imageTag": {
54-
"value": "${AZURE_ENV_CONTAINER_IMAGE_TAG}"
54+
"value": "${AZURE_ENV_CONTAINER_IMAGE_TAG=latest}"
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)