Created
July 28, 2018 22:26
-
-
Save cwiederspan/968fdca674481d4e27346326be043f53 to your computer and use it in GitHub Desktop.
Create Azure Container Instance with VSTS Build Agent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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