Building Images
Komodo builds docker images by cloning the source repository from the configured git provider, running docker build
,
and pushing the resulting image to the configured docker registry. Any repo containing a Dockerfile
is buildable using this method.
📄️ Configuration
Komodo just needs a bit of information in order to build your image.
📄️ Pre-build command
Sometimes a command needs to be run before running `docker build`, you can configure this in the pre build section.
📄️ Builders
A builder is a machine running the Komodo Periphery agent (and usually docker), which is able to handle a RunBuild / BuildRepo command from Komodo core. Any server connected to Komodo can be chosen as the builder for a build.
📄️ Image Versioning
Komodo uses a major.minor.patch versioning scheme to Build versioning. By default, every RunBuild will auto increment the Build's version patch number, and push the image to docker hub with the version tag, as well as the latest tag. A tag containing the latest short commit hash at the time the repo was cloned will also be created.