Skip to content

Commit 3e8055f

Browse files
committed
Add containerImageTag parameter and update image reference in Bicep file
1 parent 8c41d8d commit 3e8055f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
source ../.env
22

3-
# az acr build --registry acrars2025 -t openwebui-auth-proxy .
3+
CONTAINER_IMAGE_TAG=v1
4+
5+
# az acr build --registry acrars2025 -t openwebui-auth-proxy:$CONTAINER_IMAGE_TAG .
46
# az acr import --name acrars2025 --source ghcr.io/open-webui/open-webui:main --image open-webui:main
57

68
az deployment group create \
@@ -10,4 +12,5 @@ az deployment group create \
1012
--parameters \
1113
siteName=ars-family-tour-guide \
1214
jwtSecret=$JWT_SECRET \
13-
sessionSecret=$SESSION_SECRET
15+
sessionSecret=$SESSION_SECRET \
16+
containerImageTag=$CONTAINER_IMAGE_TAG

playground/familytour-proxy/devops/main.bicep

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
param siteName string
2+
param containerImageTag string
23

34
@secure()
45
param jwtSecret string
@@ -87,7 +88,7 @@ resource autoProxyApp 'Microsoft.Web/sites/sitecontainers@2024-11-01' = {
8788
name: 'auth-proxy'
8889
parent: webApp
8990
properties: {
90-
image: 'acrars2025.azurecr.io/openwebui-auth-proxy:latest'
91+
image: 'acrars2025.azurecr.io/openwebui-auth-proxy:${containerImageTag}'
9192
authType: 'SystemIdentity'
9293
isMain: true
9394
targetPort: '3000'

0 commit comments

Comments
 (0)