22 lines
391 B
HCL
22 lines
391 B
HCL
variable "REG" {
|
|
default = "registry.serguzim.me"
|
|
}
|
|
variable "REPO" {
|
|
default = "smarthome/audio"
|
|
}
|
|
variable "TAG" {
|
|
default = "latest"
|
|
}
|
|
|
|
group "default" {
|
|
targets = ["production"]
|
|
}
|
|
|
|
target "production" {
|
|
dockerfile = "./Dockerfile"
|
|
output = ["type=docker"]
|
|
tags = ["${REG}/${REPO}:latest", "${REG}/${REPO}:${TAG}"]
|
|
args = {
|
|
BUILD_FROM = "ghcr.io/home-assistant/amd64-base"
|
|
}
|
|
}
|