Commit fe22625d authored by gaoxu's avatar gaoxu 😵

Update docker.gradle

parent 78c99293
...@@ -10,6 +10,7 @@ buildscript { ...@@ -10,6 +10,7 @@ buildscript {
} }
apply plugin: com.palantir.gradle.docker.PalantirDockerPlugin apply plugin: com.palantir.gradle.docker.PalantirDockerPlugin
def registryAddress = project.getProperties().get('isProd') == "prod" ?'172.17.200.123:5000':'172.16.22.5:5000'
docker { docker {
dependsOn build dependsOn build
name"${registryAddress}/${project.group}-${jar.baseName}" name"${registryAddress}/${project.group}-${jar.baseName}"
......
Markdown is supported
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