first release
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:
10
Jenkinsfile
vendored
Normal file
10
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,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} .")
|
||||
} else {
|
||||
img = docker.build("libs", "${def_args} .")
|
||||
}
|
||||
img.push()
|
||||
}
|
||||
Reference in New Issue
Block a user