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:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -4,7 +4,7 @@ node {
|
|||||||
def def_args = "--no-cache --build-arg LIBS_BUILD_NUMBER=${env.BUILD_NUMBER} --build-arg JOBS_COUNT=4"
|
def def_args = "--no-cache --build-arg LIBS_BUILD_NUMBER=${env.BUILD_NUMBER} --build-arg JOBS_COUNT=4"
|
||||||
if (env.DOCKER_PREFIX) {
|
if (env.DOCKER_PREFIX) {
|
||||||
img = docker.build("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)
|
img.push("${env.DOCKER_PREFIX}/libs")
|
||||||
} else {
|
} else {
|
||||||
img = docker.build("libs", "${def_args} .")
|
img = docker.build("libs", "${def_args} .")
|
||||||
img.push()
|
img.push()
|
||||||
|
|||||||
Reference in New Issue
Block a user