Fix image scope.

master
Icedream 2018-05-07 20:45:57 +02:00
parent fb74dcbf3d
commit fadb0b61c0
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -20,9 +20,10 @@ node("docker && linux && amd64") {
versions.each { version ->
def tomcatVersion = version[0]
def jreVersion = version[1]
def image
ansiColor {
def image = docker.build(
image = docker.build(
"${dockerNamespace}/${dockerBase}:tomcat${tomcatVersion}-${jreVersion}",
"--build-arg TOMCAT_VERSION=${tomcatVersion} --build-arg TOMCAT_JRE=${jreVersion} .")
}