diff --git a/local-rest-scorer/build.gradle b/local-rest-scorer/build.gradle index 08d85128..7efec219 100644 --- a/local-rest-scorer/build.gradle +++ b/local-rest-scorer/build.gradle @@ -64,12 +64,12 @@ jib { image = javaBaseImage } to { - image = 'gcr.io/vorvan/h2oai/rest-scorer' - tags = ['local'] - /*auth { + image = dockerRepositoryPrefix + 'rest-scorer' + tags = [version] + auth { username = System.getenv('TO_DOCKER_USERNAME') ?: '' password = System.getenv('TO_DOCKER_PASSWORD') ?: '' - }*/ + } } container { jvmFlags = ["-Dmojo.path=/mojos/pipeline.mojo", "--add-opens", "java.base/java.lang=ALL-UNNAMED", "--add-opens", "java.base/java.util=ALL-UNNAMED", "--add-opens", "java.base/java.lang.reflect=ALL-UNNAMED"]