Skip to content

Commit c78472a

Browse files
committed
Fixing test workflow
1 parent de617f4 commit c78472a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pr_check_windows_container_pubprofile.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
- master
1313
- 'releases/*'
1414

15+
permissions:
16+
id-token: write
17+
1518
env:
1619
AZURE_WEBAPP_NAME: wincontainerswebapp # set this to your application's name
1720
CONTAINER_REGISTRY: webdeployprtestscontainerregistry.azurecr.io # set secret with Container Registry URL, example : xyz.azurecr.io
@@ -31,9 +34,11 @@ jobs:
3134
path: 'python_container_App'
3235

3336
- name: Azure authentication
34-
uses: azure/login@v1
37+
uses: azure/login@v2
3538
with:
36-
creds: ${{ secrets.AZURE_WEBAPP_SPN }}
39+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
40+
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
41+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
3742

3843
- name: Logout from Azure Container Registry
3944
run: |

0 commit comments

Comments
 (0)