Skip to content

Commit

Permalink
Disable azure cli auth
Browse files Browse the repository at this point in the history
  • Loading branch information
simongottschlag committed Dec 7, 2020
1 parent b6e4bb0 commit cdc2e58
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions templates/azure/github-runner/github-runner.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"variables": {
"AZURE_RESOURCE_GROUP_NAME": "{{env `AZURE_RESOURCE_GROUP_NAME`}}"
"AZURE_RESOURCE_GROUP_NAME": "{{env `AZURE_RESOURCE_GROUP_NAME`}}",
"AZURE_CLIENT_ID": "{{env `AZURE_CLIENT_ID`}}",
"AZURE_CLIENT_SECRET": "{{env `AZURE_CLIENT_SECRET`}}",
"AZURE_SUBSCRIPTION_ID": "{{env `AZURE_SUBSCRIPTION_ID`}}",
"AZURE_TENANT_ID": "{{env `AZURE_TENANT_ID`}}"
},
"builders": [
{
"type": "azure-arm",
"use_azure_cli_auth": true,
"client_id": "{{user `AZURE_CLIENT_ID`}}",
"client_secret": "{{user `AZURE_CLIENT_SECRET`}}",
"subscription_id": "{{user `AZURE_SUBSCRIPTION_ID`}}",
"tenant_id": "{{user `AZURE_TENANT_ID`}}",
"managed_image_resource_group_name": "{{user `AZURE_RESOURCE_GROUP_NAME`}}",
"managed_image_name": "github-runner-{{isotime | clean_resource_name}}",
"build_resource_group_name": "{{user `AZURE_RESOURCE_GROUP_NAME`}}",
Expand Down

0 comments on commit cdc2e58

Please sign in to comment.