10
0
This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
mongo-logger/Jenkinsfile
2021-10-17 06:17:10 +03:00

21 lines
378 B
Groovy

#!/usr/bin/groovy
image = "mongo-logger"
label = "daily"
build = null
node {
stage("Checkout") {
checkout scm
}
stage("Build") {
build = docker.build("kspaceee/${image}", "--no-cache ./")
}
stage("Push") {
docker.withRegistry("https://registry.hub.docker.com", "dockerhub-kspace") {
build.push(label)
}
}
}