Commit 20b663fb authored by ziy's avatar ziy

add image

parent 0acd865d
...@@ -15,6 +15,7 @@ def registryAddress = project.getProperties().get('isProd') == "prod" ?'172.17.2 ...@@ -15,6 +15,7 @@ def registryAddress = project.getProperties().get('isProd') == "prod" ?'172.17.2
docker { docker {
dependsOn build dependsOn build
name"${registryAddress}/${project.group}-${jar.baseName}" name"${registryAddress}/${project.group}-${jar.baseName}"
image "${project.group}-${jar.baseName}"
files jar.archivePath files jar.archivePath
buildArgs(['JAR_FILE': "${jar.archiveName}"]) 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