some changes

pull/213/head
Soruk 2023-02-11 22:13:29 +01:00
parent ef052aeaab
commit a51f3e77a2
1 changed files with 9 additions and 2 deletions

View File

@ -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