We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c355e4d commit 4eb467eCopy full SHA for 4eb467e
.github/workflows/ci.yml
@@ -66,7 +66,8 @@ jobs:
66
runs-on: ubuntu-latest
67
needs: tests
68
permissions:
69
- contents: 'read'
+ contents: read
70
+ id-token: write
71
env:
72
ACR_NAME: gabby
73
REGISTRY: gabby.azurecr.io
@@ -76,10 +77,12 @@ jobs:
76
77
- name: Checkout
78
uses: actions/checkout@v4
79
- - name: Azure Login
80
+ - name: Azure Login (OIDC)
81
uses: azure/login@v2
82
with:
- creds: '{}'
83
+ client-id: ${{ secrets.AZURE_CLIENT_ID }}
84
+ tenant-id: ${{ secrets.AZURE_TENANT_ID }}
85
+ subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
86
87
- name: Login to Azure Container Registry
88
run: az acr login --name $ACR_NAME
0 commit comments