v0.7.1 ~ Fleetbase console can now read in a runtime config

This commit is contained in:
Ronald A. Richardson
2025-05-19 13:12:57 +08:00
parent 0626bc0171
commit 4dc9764853
11 changed files with 132 additions and 81 deletions

View File

@@ -9,6 +9,10 @@ group "default" {
targets = ["app", "app-httpd"]
}
group "release" {
targets = ["fleetbase-console", "fleetbase-api"]
}
target "app" {
name = "app-${tgt}"
@@ -48,4 +52,26 @@ target "app-httpd" {
GCP ? "${REGISTRY}/app-httpd:%s" : "${REGISTRY}:app-httpd-%s",
compact(["latest", VERSION])
) : []
}
target "fleetbase-console" {
context = "./console"
dockerfile = "Dockerfile"
platforms = ["linux/amd64"]
tags = notequal("", REGISTRY) ? formatlist(
"${REGISTRY}/fleetbase-console:%s",
compact(["latest", VERSION])
) : []
}
target "fleetbase-api" {
context = "./"
dockerfile = "docker/Dockerfile"
platforms = ["linux/amd64"]
tags = notequal("", REGISTRY) ? formatlist(
"${REGISTRY}/fleetbase-api:%s",
compact(["latest", VERSION])
) : []
}