composition/docker-bake.hcl
Garen Tyler d58fffc7e5
Some checks failed
clippy / Run rust-clippy analyzing (push) Has been cancelled
ci / Build and push Docker images (push) Successful in 21m30s
Add bake workflow
2025-05-01 18:43:50 -06:00

26 lines
447 B
HCL

variable "REGISTRY" {
default = "git.garen.dev/garentyler"
}
variable "GITHUB_SHA" {
default = "latest"
}
variable "RELEASE_VERSION" {
default = "latest"
}
target "default" {
context = "."
dockerfile = "Dockerfile"
platforms = ["linux/amd64", "linux/arm64"]
tags = [
"${REGISTRY}/composition:${RELEASE_VERSION}",
"${REGISTRY}/composition:${GITHUB_SHA}"
]
target = "prod"
args = {
FEATURES = "server,proxy"
}
}