Commit 3629ad4a authored by ziy's avatar ziy

恢复docker config

parent 164355c5
...@@ -7,4 +7,13 @@ buildscript { ...@@ -7,4 +7,13 @@ buildscript {
dependencies { dependencies {
classpath('gradle.plugin.com.palantir.gradle.docker:gradle-docker:0.21.0') classpath('gradle.plugin.com.palantir.gradle.docker:gradle-docker:0.21.0')
} }
}
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 {
dependsOn build
name"${registryAddress}/${project.group}-${jar.baseName}"
files jar.archivePath
buildArgs(['JAR_FILE': "${jar.archiveName}"])
} }
\ No newline at end of file
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