Skip to content

Instantly share code, notes, and snippets.

@cwiederspan
Created July 28, 2018 22:26
Show Gist options
  • Select an option

  • Save cwiederspan/968fdca674481d4e27346326be043f53 to your computer and use it in GitHub Desktop.

Select an option

Save cwiederspan/968fdca674481d4e27346326be043f53 to your computer and use it in GitHub Desktop.
Create Azure Container Instance with VSTS Build Agent
az container create \
--name vsts-agent \
--resource-group {MY_RESOURCE_GROUP_NAME} \
--image microsoft/vsts-agent \
--cpu 1 \
--memory 1 \
--ip-address public \
--environment-variables VSTS_ACCOUNT={MY_VSTS} VSTS_TOKEN={MY_TOKEN} VSTS_POOL="{MY_PRIVATE_POOL_NAME}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment