Skip to content

Commit 4406085

Browse files
download dependencies needs auth too? (#128)
1 parent 7a902bf commit 4406085

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ pipeline {
2323
}
2424
stage('Download Dependencies') {
2525
steps {
26-
sh 'docker build -f Dockerfile.common .'
26+
withDockerRegistry(credentialsId: 'docker-registry', url: 'https://registry.comp.ystv.co.uk') {
27+
sh 'docker build -f Dockerfile.common .'
28+
}
2729
}
2830
}
2931
stage('Build Images') {

0 commit comments

Comments
 (0)