Jenkinsfile
Some checks failed
SHS Gitea/libs/pipeline/head There was a failure building this commit
Some checks failed
SHS Gitea/libs/pipeline/head There was a failure building this commit
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -3,9 +3,10 @@ node {
|
||||
def img
|
||||
def def_args = "--no-cache --build-arg LIBS_BUILD_NUMBER=${env.BUILD_NUMBER} --build-arg JOBS_COUNT=4"
|
||||
if (env.DOCKER_PREFIX) {
|
||||
img = docker.build("${env.DOCKER_PREFIX}/libs", "${def_args} --build-arg DOCKER_PREFIX=${env.DOCKER_PREFIX} .")
|
||||
img = docker.build("libs", "${def_args} --build-arg DOCKER_PREFIX=${env.DOCKER_PREFIX} .")
|
||||
img.push(${env.DOCKER_PREFIX}/libs)
|
||||
} else {
|
||||
img = docker.build("libs", "${def_args} .")
|
||||
img.push()
|
||||
}
|
||||
img.push()
|
||||
}
|
||||
Reference in New Issue
Block a user