Files
automation_rs/docker-bake.hcl
Dreaded_X 32255548a4
Some checks are pending
Build and deploy / Deploy container (push) Blocked by required conditions
Build and deploy / build (push) Successful in 16m44s
chore: Upgraded to new workflow
2025-11-16 22:21:08 +01:00

30 lines
493 B
HCL

variable "TAG_BASE" {}
group "default" {
targets = ["automation"]
}
target "docker-metadata-action" {}
# TODO: Auto include this from the workflow
target "common" {
cache-from = [
{
type = "gha"
}
]
cache-to = [
{
type = "gha"
mode = "max"
}
]
}
target "automation" {
inherits = ["docker-metadata-action", "common"]
context = "./"
dockerfile = "Dockerfile"
tags = [for tag in target.docker-metadata-action.tags : "${TAG_BASE}:${tag}"]
}