加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-bake.hcl 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
group "default" {
targets = ["backend-server", "room-server", "web-server", "init-db", "openresty"]
}
variable "IMAGE_REGISTRY" {
default = "docker.io"
}
variable "SEMVER_FULL" {
default = "v0.0.0-alpha"
}
variable "IMAGE_TAG" {
default = "latest"
}
target "backend-server" {
context = "."
dockerfile = "packaging/Dockerfile.backend-server"
args = {
SEMVER_FULL = SEMVER_FULL
}
tags = ["${IMAGE_REGISTRY}/apitable/backend-server:latest", "${IMAGE_REGISTRY}/apitable/backend-server:${IMAGE_TAG}"]
}
target "room-server" {
context = "."
dockerfile = "packaging/Dockerfile.room-server"
args = {
SEMVER_FULL = SEMVER_FULL
}
tags = ["${IMAGE_REGISTRY}/apitable/room-server:latest", "${IMAGE_REGISTRY}/apitable/room-server:${IMAGE_TAG}"]
}
target "web-server" {
context = "."
dockerfile = "packaging/Dockerfile.web-server"
args = {
SEMVER_FULL = SEMVER_FULL
}
tags = ["${IMAGE_REGISTRY}/apitable/web-server:latest", "${IMAGE_REGISTRY}/apitable/web-server:${IMAGE_TAG}"]
}
target "init-db" {
context = "./init-db"
dockerfile = "Dockerfile"
args = {
SEMVER_FULL = SEMVER_FULL
}
tags = ["${IMAGE_REGISTRY}/apitable/init-db:latest", "${IMAGE_REGISTRY}/apitable/init-db:${IMAGE_TAG}"]
}
target "openresty" {
context = "./gateway"
dockerfile = "../packaging/Dockerfile.openresty"
args = {
SEMVER_FULL = SEMVER_FULL
}
tags = ["${IMAGE_REGISTRY}/apitable/openresty:latest", "${IMAGE_REGISTRY}/apitable/openresty:${IMAGE_TAG}"]
}
target "all-in-one" {
context = "./packaging/all-in-one/all-in-one"
dockerfile = "Dockerfile"
args = {
SEMVER_FULL = SEMVER_FULL
IMAGE_TAG = IMAGE_TAG
}
tags = ["${IMAGE_REGISTRY}/apitable/all-in-one:latest", "${IMAGE_REGISTRY}/apitable/all-in-one:${IMAGE_TAG}"]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化