16. Releasing the Project

This section covers how to release the project by publishing a Docker image.

16.1 Publishing A Docker Image

When doing a release, you also need to push a Docker image to Dockerhub. From the project root, run the following commands, replacing <version> with the version of the release:

$ docker login
$ docker build -t springcloud/spring-cloud-pipeline-jenkins:<version> ./jenkins
$ docker push springcloud/spring-cloud-pipeline-jenkins:<version>