packer-images/library/sources.pkr.hcl
Ben Vincent be28558cff
All checks were successful
Build / build (pull_request) Successful in 20m34s
feat: update incus build process
- ensure unkin-ca-certificates are installed
- find the default incus remote and use that for images
- dont set publish_remote_name
- build incus images for the base image
- build puppet-base image for incus only
- ensure builds are made with the `build` profile
- only build 9.5+ for incus
- prevent the build system from building images twice
2025-04-24 00:50:26 +10:00

12 lines
215 B
HCL

source "docker" "os" {
image = var.docker_source
commit = true
changes = var.docker_changes
}
source "incus" "os" {
image = var.incus_source
output_image = local.incus_output_image
profile = "build"
}