Skip to content

Commit

Permalink
Fixing test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ShilpiRachna1 committed Aug 1, 2024
1 parent 6a01e8e commit ea97805
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pr_check_windows_container_pubprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
- master
- 'releases/*'

permissions:
id-token: write

env:
AZURE_WEBAPP_NAME: wincontainerswebapp # set this to your application's name
CONTAINER_REGISTRY: webdeployprtestscontainerregistry.azurecr.io # set secret with Container Registry URL, example : xyz.azurecr.io
Expand All @@ -31,9 +34,11 @@ jobs:
path: 'python_container_App'

- name: Azure authentication
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_WEBAPP_SPN }}
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Logout from Azure Container Registry
run: |
Expand Down

0 comments on commit ea97805

Please sign in to comment.