Skip to content

Commit

Permalink
Update CUDA_Build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhargavoza1 committed Mar 23, 2024
1 parent 73d63b1 commit 4b5f159
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/CUDA_Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ jobs:
azcliversion: latest
inlineScript: |
if [ "${{steps.check-aks.outputs.cluster_exists}}" != "true" ]; then
ACR_ID=$(az acr show --name test1repo --query id --output tsv)
AKS_ID=$(az aks show --resource-group my_test --name myAKSCluster --query id -o tsv)
az role assignment create --assignee $AKS_ID --scope $ACR_ID --role AcrPull
az role assignment create --role "AcrPull" --assignee ${{ secrets.AZURE_CLIENT_ID }} --scope $AKS_ID
az aks update --resource-group my_test --name myAKSCluster --attach-acr test1repo
fi
az account set --subscription ${{ secrets.AZURE_SUBSCRIPTION_ID }}
Expand Down

0 comments on commit 4b5f159

Please sign in to comment.