Commit b8e19524 authored by Nik Kozlov's avatar Nik Kozlov :upside_down:
Browse files

Fix publish

parent bd9665e1
No related merge requests found
Showing with 6 additions and 4 deletions
+6 -4
......@@ -174,10 +174,12 @@ microserviceProjects.forEach { project ->
&& usernameEnvironment.isNotBlank() && passwordEnvironment.isNotBlank()
publish = shouldPublish
docker.publishRegistry {
url.set("registry.kot.tools")
username.set(usernameEnvironment)
password.set(passwordEnvironment)
if (shouldPublish) {
docker.publishRegistry {
url.set("registry.kot.tools")
username.set(usernameEnvironment)
password.set(passwordEnvironment)
}
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment