chore: docker image name

This commit is contained in:
usbharu 2023-03-24 13:09:43 +09:00
parent 2bdbfc2b13
commit 9f2890b042
1 changed files with 14 additions and 0 deletions

View File

@ -50,3 +50,17 @@ dependencies {
testImplementation("io.ktor:ktor-server-tests-jvm:$ktor_version")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
}
jib {
if (System.getProperty("os.name").toLowerCase().contains("windows")) {
dockerClient.environment = mapOf(
"DOCKER_HOST" to "localhost:2375"
)
}
}
ktor {
docker {
localImageName.set("hideout")
}
}