feat(ci): publish docker image as part of build

This commit is contained in:
andreas 2019-05-14 15:08:21 +02:00
parent 3dfc5ea020
commit 7de71b0b4b

5
Jenkinsfile vendored
View File

@ -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()
}
} }
} }
} }