Skip to content

Azure images for Github Actions Runners and Azure Devops Agent Pools

License

Notifications You must be signed in to change notification settings

XenitAB/xkf-runners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xkf-runners

Code to build Azure images with Packer for Github Actions Runners and Azure Devops Agent Pools. The images will be published to a shared image gallery. The shared image gallery is expected to be set up with image definitions for azdo-agent and github-runner.

Build images

Authentication through Azure CLI

Make sure that az login is done before running a build:

PKR_VAR_use_azure_cli_auth=true \
PKR_VAR_version=x.x.x \
make azdo-agent

Using Service Principal

PKR_VAR_client_id=xxxxxxxxxx \
PKR_VAR_client_secret=xxxxxxxxxx \
PKR_VAR_subscription_id=xxxxxxxxxx \
PKR_VAR_version=x.x.x \
make github-runner