script block
This commit is contained in:
parent
2d0d60677c
commit
1f6536c36d
@ -51,13 +51,15 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
docker.withRegistry('https://git.sarsoo.xyz', 'git-registry-creds') {
|
script {
|
||||||
|
docker.withRegistry('https://git.sarsoo.xyz', 'git-registry-creds') {
|
||||||
|
|
||||||
docker.build("sarsoo/selector-cli:latest",
|
docker.build("sarsoo/selector-cli:latest",
|
||||||
"-f Dockerfile.CLI .").push()
|
"-f Dockerfile.CLI .").push()
|
||||||
|
|
||||||
docker.build("sarsoo/selector-web:latest",
|
docker.build("sarsoo/selector-web:latest",
|
||||||
"-f Dockerfile.Web .").push()
|
"-f Dockerfile.Web .").push()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user