August 2017
Intermediate to advanced
332 pages
9h 16m
English
When the image is ready, we can store it in the registry. The Docker push stage is very simple. It's enough to add the following code to Jenkinsfile:
stage("Docker push") { steps { sh "docker push leszko/calculator" }}
As always, pushing changes to the GitHub repository triggers Jenkins to start the build and, after a while, we should have the image automatically stored in the registry.
Read now
Unlock full access