Use Socketcluster official images

This commit is contained in:
Eugene Dementyev
2023-07-15 23:11:27 +12:00
parent 275b1bcab8
commit 98f3a2ceba
2 changed files with 3 additions and 21 deletions

View File

@@ -4,7 +4,7 @@ variable "tags" { default = "[]" }
target "docker-metadata-action" {}
group "default" {
targets = ["app", "app-httpd", "socketcluster"]
targets = ["app", "app-httpd"]
}
target "app" {
@@ -54,17 +54,3 @@ target "app-httpd" {
concat(["latest"], jsondecode(replace(tags, "willbereplaced:", "")))
) : []
}
target "socketcluster" {
inherits = ["docker-metadata-action"]
context = "./"
dockerfile = "socket/Dockerfile"
platforms = [
"linux/amd64",
]
tags = notequal("", REGISTRY) ? formatlist(
"${REGISTRY}/fleetbase-socketcluster:%s",
concat(["latest"], jsondecode(replace(tags, "willbereplaced:", "")))
) : []
}