Reputation: 2315
How can one set the Pipeline so that Docker will pull images from a local registry?
Upvotes: 6
Views: 3893
Reputation: 2315
Found on a user mailing list post but I did not see this in the official docs.
For posterity sake here is the answer from the link
agent {
docker {
image "image name"
registryUrl "https://wherever"
registryCredentialsId "credsId"
}
}
I tested this works with the most up to date plugin at time of writing.
Upvotes: 17