10
0
This repository has been archived on 2024-07-26. You can view files and clone it, but cannot push or open issues or pull requests.
mikrotik-exporter/Jenkinsfile
Madis Mägi 73081f3633
All checks were successful
gitea-kspace/mikrotik-exporter/pipeline/head This commit looks good
Add Jenkinsfile
2021-10-17 10:26:13 +03:00

21 lines
367 B
Groovy

#!/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)
}
}
}