mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-06 06:15:51 +00:00
fix docker bake build for cd
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
variable "REGISTRY" { default = "" }
|
||||
variable "VERSION" { default = "latest" }
|
||||
variable "CACHE" { default = "" }
|
||||
variable "GCP" { default = false }
|
||||
variable "CACHE" { default = "" }
|
||||
variable "GITHUB_AUTH_KEY" { default = "" }
|
||||
|
||||
group "default" {
|
||||
targets = ["app", "app-httpd"]
|
||||
@@ -32,6 +33,10 @@ target "app" {
|
||||
"type=file,id=composer_auth,src=./composer-auth.json"
|
||||
]
|
||||
|
||||
args = {
|
||||
GITHUB_AUTH_KEY = "${GITHUB_AUTH_KEY}"
|
||||
}
|
||||
|
||||
cache-from = notequal("", CACHE) ? ["${CACHE}"] : []
|
||||
cache-to = notequal("", CACHE) ? ["${CACHE},mode=max,ignore-error=true"] : []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user