2024-01-09 08:25:32 +00:00
|
|
|
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"]
|
2024-03-18 10:37:34 +00:00
|
|
|
tags = ["${IMAGE_REGISTRY}/teableio/teable:latest", "${IMAGE_REGISTRY}/teableio/teable:${IMAGE_TAG}"]
|
2024-02-19 03:59:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
target "teable-db-migrate" {
|
|
|
|
context = "."
|
|
|
|
dockerfile = "dockers/teable/Dockerfile.db-migrate"
|
|
|
|
platforms = ["linux/amd64", "linux/arm64"]
|
2024-03-18 10:37:34 +00:00
|
|
|
tags = ["${IMAGE_REGISTRY}/teableio/teable-db-migrate:latest", "${IMAGE_REGISTRY}/teableio/teable-db-migrate:${IMAGE_TAG}"]
|
2024-01-09 08:25:32 +00:00
|
|
|
}
|