How can one set the Pipeline so that Docker will pull images from a local registry?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With