Skip to content

Commit

Permalink
Merge pull request #5 from DFE-Digital/feature/sathish
Browse files Browse the repository at this point in the history
push actions
  • Loading branch information
SathishMani219 authored Feb 14, 2024
2 parents 3080f5d + c69b368 commit cd3775a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/actions/azure-login/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Azure CLI Login
description: Login to Azure using service principle

inputs:
az_tenant_id:
required: true
type: string
az_subscription_id:
required: true
type: string
az_client_id:
required: true
type: string
az_client_secret:
required: true
type: string

runs:
using: composite

steps:
- name: Azure login with ACA credentials
uses: azure/login@v1
with:
creds: '{"clientId":"${{ inputs.az_client_id }}","clientSecret":"${{ inputs.az_client_secret }}","subscriptionId":"${{ inputs.az_subscription_id }}","tenantId":"${{ inputs.az_tenant_id }}"}'

#test

0 comments on commit cd3775a

Please sign in to comment.