fix(ci): add login info to docker publish
This commit is contained in:
parent
1184b95e61
commit
043347c4bb
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -19,7 +19,7 @@ pipeline {
|
|||||||
|
|
||||||
echo 'Starting docker image build'
|
echo 'Starting docker image build'
|
||||||
script {
|
script {
|
||||||
docker.withRegistry("https://pkg.northcode.no") {
|
docker.withRegistry("https://pkg.northcode.no", 'docker-login') {
|
||||||
def image = docker.build("pkg.northcode.no/telegram-leetbot")
|
def image = docker.build("pkg.northcode.no/telegram-leetbot")
|
||||||
image.push()
|
image.push()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user