10
0
goredirect/Jenkinsfile
Madis Mägi 8c7fc56419
All checks were successful
gitea-kspace/goredirect/pipeline/head This commit looks good
Add Jenkinsfile
2021-10-17 11:02:43 +03:00

21 lines
360 B
Groovy

#!/usr/bin/groovy
image = "goredirect"
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)
}
}
}