Fix docker build

This commit is contained in:
Кирилл
2023-01-18 17:44:57 +04:00
parent 4d4dbf80a7
commit 5a0f0b61a8
2 changed files with 3 additions and 3 deletions

View File

@@ -172,8 +172,8 @@ jib {
add project.version.toString().replaceAll('(\\d+\\.\\d+).+', '$1') add project.version.toString().replaceAll('(\\d+\\.\\d+).+', '$1')
} }
auth { auth {
username = System.getenv('DOCKERHUB_USERNAME') username = System.getenv('DOCKERHUB_USERNAME') ?: ''
password = System.getenv('DOCKERHUB_TOKEN') password = System.getenv('DOCKERHUB_TOKEN') ?: ''
} }
} }
container { container {

View File

@@ -136,7 +136,7 @@ junit = ["junit-jupiter", "assertj"]
[plugins] [plugins]
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
jib = { id = "com.google.cloud.tools.jib", version = "2.5.0" } jib = { id = "com.google.cloud.tools.jib", version = "2.7.1" }
spring = { id = "org.springframework.boot", version = "2.6.0" } spring = { id = "org.springframework.boot", version = "2.6.0" }
git = { id = "com.palantir.git-version", version = "0.12.3" } git = { id = "com.palantir.git-version", version = "0.12.3" }
protobuf = { id = "com.google.protobuf", version = "0.9.1" } protobuf = { id = "com.google.protobuf", version = "0.9.1" }