Skip to content

Commit e8582e2

Browse files
latest changes adding branach name
1 parent 2925875 commit e8582e2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build-docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
echo "tagname=demo" >> $GITHUB_OUTPUT
6060
elif [[ "${{ github.ref_name }}" == "hotfix" ]]; then
6161
echo "tagname=hotfix" >> $GITHUB_OUTPUT
62+
elif [[ "${{ github.ref_name }}" == "vee-pipeline-fixes" ]]; then
63+
echo "tagname=vee-pipeline-fixes" >> $GITHUB_OUTPUT
6264
else
6365
echo "tagname=default" >> $GITHUB_OUTPUT
6466
fi

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ jobs:
120120
IMAGE_TAG="dev"
121121
elif [[ "${{ env.BRANCH_NAME }}" == "demo" ]]; then
122122
IMAGE_TAG="demo"
123+
elif [[ "${{ env.BRANCH_NAME }}" == "vee-pipeline-fixes" ]]; then
124+
IMAGE_TAG="vee-pipeline-fixes"
123125
else
124126
IMAGE_TAG="latest"
125127
fi
@@ -194,7 +196,7 @@ jobs:
194196
echo "Fetching Log Analytics workspace from resource group ${{ env.RESOURCE_GROUP_NAME }}..."
195197
196198
# Run the az monitor log-analytics workspace list command to get the workspace name
197-
log_analytics_workspace_name=$(az monitor log-analytics workspace list --resource-group ${{ env.RESOURCE_GROUP_NAME }} --query "[0].name" -o tsv)
199+
log_analytics_workspace_name=$(az monitor.log-analytics.workspace list --resource-group ${{ env.RESOURCE_GROUP_NAME }} --query "[0].name" -o tsv)
198200
199201
if [ -z "$log_analytics_workspace_name" ]; then
200202
echo "No Log Analytics workspace found in resource group ${{ env.RESOURCE_GROUP_NAME }}."

0 commit comments

Comments
 (0)