some changes
parent
ef052aeaab
commit
a51f3e77a2
|
@ -23,7 +23,14 @@ jobs:
|
|||
with:
|
||||
azPSVersion: "3.1.0"
|
||||
inlineScript: |
|
||||
az deployment group create -n ghactionbgtasks${{ github.sha }} -g ${{ secrets.AZURE_RESOURCE_GROUP_NAME }} --template-file deploy/Services/acr.bicep --parameters acrName=${{secrets.ACR_NAME}}
|
||||
$deploymentName = "ghactionbgtasks${{ github.sha }}"
|
||||
$resourceGroupName = "${{ secrets.AZURE_RESOURCE_GROUP_NAME }}"
|
||||
$acrName = "${{ secrets.ACR_NAME }}"
|
||||
|
||||
az deployment group create -n "$($deploymentName)" `
|
||||
--resource-group "$($resourceGroupName)" `
|
||||
--template-file deploy/Services/acr.bicep `
|
||||
--parameters acrName="$($acrName)"
|
||||
|
||||
- name: Login to ACR
|
||||
uses: docker/login-action@v1
|
||||
|
|
Loading…
Reference in New Issue