Skip to content

Commit 78c46bb

Browse files
committed
Add id-token permission and enable Azure PowerShell session for deployment
1 parent 738f2a9 commit 78c46bb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/container-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
permissions:
1717
contents: read
18+
id-token: write
1819
packages: write
1920

2021
steps:
@@ -65,6 +66,7 @@ jobs:
6566
client-id: ${{ secrets.CTJWEB_AZURE_CLIENT_ID }}
6667
tenant-id: ${{ secrets.CTJWEB_AZURE_TENANT_ID }}
6768
subscription-id: ${{ secrets.CTJWEB_AZURE_SUBSCRIPTION_ID }}
69+
enable-AzPSSession: true
6870

6971
- name: Deploy to Azure Container App
7072
uses: azure/CLI@v2

0 commit comments

Comments
 (0)