feat(ci): publish docker image as part of build
This commit is contained in:
parent
3dfc5ea020
commit
7de71b0b4b
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -19,7 +19,10 @@ pipeline {
|
|||||||
|
|
||||||
echo 'Starting docker image build'
|
echo 'Starting docker image build'
|
||||||
script {
|
script {
|
||||||
docker.build("northcode/telegram-leetbot")
|
docker.withRegistry("pkg.northcode.no") {
|
||||||
|
def image = docker.build("pkg.northcode.no/telegram-leetbot")
|
||||||
|
image.push()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user