wildduck-exporter/Jenkinsfile
Madis Mägi 4a15d7863b
All checks were successful
gitea-kspace/wildduck-exporter/pipeline/head This commit looks good
Add Jenkinsfile
2021-10-17 10:57:36 +03:00

21 lines
367 B
Groovy

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