Merge branch 'master' of git.k-space.ee:k-space/mikrotik-exporter
gitea-kspace/mikrotik-exporter/pipeline/head There was a failure building this commit
Details
gitea-kspace/mikrotik-exporter/pipeline/head There was a failure building this commit
Details
This commit is contained in:
commit
cf8a7f1a26
|
@ -0,0 +1,20 @@
|
||||||
|
#!/usr/bin/groovy
|
||||||
|
image = "mikrotik-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)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue