git clone [email protected]:spacelift-io/spacelift-worker-image.git
cd spacelift-worker-image
packer build azure.pkr.hcl
Override the defaults using -var="variable-name=variable-value"
The variables are located in the azure.pkr.hcl
file.
By default, the template creates a Managed image in the resource group defined by the image_resource_group
variable. The image can optionally be published to a shared image gallery by setting the gallery_*
variables.