Skip to content

Commit

Permalink
Create oidc-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcorr authored Jun 1, 2022
1 parent 749606c commit 231c149
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/oidc-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push: main

permissions:
id-token: write
contents: read

jobs:
test:
runs-on: ubuntu-latest
environment: oidc
steps:
- name: Azure Login
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: $ {{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Azure Test
run: az account show

0 comments on commit 231c149

Please sign in to comment.