Fix docker buildx bake command

This commit is contained in:
Eduard Heimbuch
2022-09-15 09:45:21 +02:00
parent 16fb69738f
commit 4d479497aa

View File

@@ -90,7 +90,7 @@ task setupBuilder() {
}
task build(type: Exec) {
commandLine = ["docker", "buildx", "bake", "--builder", "scm-builder", isSnapshot ? "dev": "prod", isSnapshot ? "--load" : ""]
commandLine = ["docker", "buildx", "bake", isSnapshot ? "--load" : "", "--builder", "scm-builder", isSnapshot ? "dev": "prod"]
environment "VERSION", dockerTag
environment "COMMIT_SHA", revision
environment "IMAGE", dockerRepository