mirror of
https://github.com/fleetbase/fleetbase.git
synced 2025-12-19 22:27:22 +00:00
Use Socketcluster official images
This commit is contained in:
@@ -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:", "")))
|
||||
) : []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user