forked from verlock/verlock-doorboy-proxy
parent
de5fd083a6
commit
91ae9dfcd5
@ -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…
Reference in new issue