teable/docker-bake.hcl
Pengap 9b4f9eabad
feat: support multi instance (#364)
* feat: upgrade Node, add Redis caching & WebSocket via redis-pubsub

* fix: optimize `X-Request-Id` generation rules

* ci: add db-migrate image build and push

---------

Co-authored-by: pengap <penganpingprivte@gmail.com>
2024-02-19 11:59:30 +08:00

25 lines
658 B
HCL

group "default" {
targets = ["teable"]
}
variable "IMAGE_REGISTRY" {
default = "docker.io"
}
variable "IMAGE_TAG" {
default = "latest"
}
target "teable" {
context = "."
dockerfile = "dockers/teable/Dockerfile"
platforms = ["linux/amd64", "linux/arm64"]
tags = ["${IMAGE_REGISTRY}/teablecloud/teable:latest", "${IMAGE_REGISTRY}/teablecloud/teable:${IMAGE_TAG}"]
}
target "teable-db-migrate" {
context = "."
dockerfile = "dockers/teable/Dockerfile.db-migrate"
platforms = ["linux/amd64", "linux/arm64"]
tags = ["${IMAGE_REGISTRY}/teablecloud/teable-db-migrate:latest", "${IMAGE_REGISTRY}/teablecloud/teable-db-migrate:${IMAGE_TAG}"]
}