Skip to content

Commit 679f875

Browse files
use latest tag
1 parent b352825 commit 679f875

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/deploy-KMGeneric.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
104104
- name: Determine Tag Name Based on Branch
105105
id: determine_tag
106-
run: echo "tagname=${{ github.ref_name == 'main' && 'latest_migrated' || github.ref_name == 'dev' && 'dev' || github.ref_name == 'demo' && 'demo' || github.ref_name == 'dependabotchanges' && 'dependabotchanges' || github.head_ref || 'default' }}" >> $GITHUB_OUTPUT
106+
run: echo "tagname=${{ github.ref_name == 'main' && 'latest' || github.ref_name == 'dev' && 'dev' || github.ref_name == 'demo' && 'demo' || github.ref_name == 'dependabotchanges' && 'dependabotchanges' || github.head_ref || 'default' }}" >> $GITHUB_OUTPUT
107107

108108
- name: Deploy Bicep Template
109109
id: deploy

.github/workflows/docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
id: determine_tag
5050
run: |
5151
if [[ "${{ github.ref_name }}" == "main" ]]; then
52-
echo "tagname=latest_migrated" >> $GITHUB_OUTPUT
52+
echo "tagname=latest" >> $GITHUB_OUTPUT
5353
elif [[ "${{ github.ref_name }}" == "dev" ]]; then
5454
echo "tagname=dev" >> $GITHUB_OUTPUT
5555
elif [[ "${{ github.ref_name }}" == "demo" ]]; then

infra/main.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ param embeddingModel string = 'text-embedding-ada-002'
5959
@description('Capacity of the Embedding Model deployment')
6060
param embeddingDeploymentCapacity int = 80
6161

62-
param imageTag string = 'latest_migrated'
62+
param imageTag string = 'latest'
6363

6464
param AZURE_LOCATION string=''
6565
var solutionLocation = empty(AZURE_LOCATION) ? resourceGroup().location : AZURE_LOCATION
@@ -68,7 +68,7 @@ var uniqueId = toLower(uniqueString(subscription().id, environmentName, solution
6868
var solutionPrefix = 'km${padLeft(take(uniqueId, 12), 12, '0')}'
6969
// var resourceGroupName = resourceGroup().name
7070

71-
var baseUrl = 'https://raw.githubusercontent.com/microsoft/Conversation-Knowledge-Mining-Solution-Accelerator/main/'
71+
var baseUrl = 'https://raw.githubusercontent.com/microsoft/Conversation-Knowledge-Mining-Solution-Accelerator/psl-pk-aifoundryresource/'
7272

7373
// ========== Managed Identity ========== //
7474
module managedIdentityModule 'deploy_managed_identity.bicep' = {

infra/main.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.36.1.42791",
8-
"templateHash": "8092463381287522556"
8+
"templateHash": "8207768757301645999"
99
}
1010
},
1111
"parameters": {
@@ -92,7 +92,7 @@
9292
},
9393
"imageTag": {
9494
"type": "string",
95-
"defaultValue": "latest_migrated"
95+
"defaultValue": "latest"
9696
},
9797
"AZURE_LOCATION": {
9898
"type": "string",
@@ -332,7 +332,7 @@
332332
"solutionLocation": "[if(empty(parameters('AZURE_LOCATION')), resourceGroup().location, parameters('AZURE_LOCATION'))]",
333333
"uniqueId": "[toLower(uniqueString(subscription().id, parameters('environmentName'), variables('solutionLocation')))]",
334334
"solutionPrefix": "[format('km{0}', padLeft(take(variables('uniqueId'), 12), 12, '0'))]",
335-
"baseUrl": "https://raw.githubusercontent.com/microsoft/Conversation-Knowledge-Mining-Solution-Accelerator/main/"
335+
"baseUrl": "https://raw.githubusercontent.com/microsoft/Conversation-Knowledge-Mining-Solution-Accelerator/psl-pk-aifoundryresource/"
336336
},
337337
"resources": [
338338
{

0 commit comments

Comments
 (0)