Browse Source

Add Jenkinsfile

pull/10/head
Madis Mägi 2 months ago
parent
commit
91ae9dfcd5
  1. 20
      Jenkinsfile

20
Jenkinsfile

@ -0,0 +1,20 @@
#!/usr/bin/groovy
image = "doorboy-proxy"
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…
Cancel
Save