Skip to content

Add CI

Matthew Feickert requested to merge feature/add-CI into master

Add CI to build and push to Docker Hub images whenever their Dockerfiles or the files they are dependent on change.

If the build happens on master (merging in of a MR) the deployment will be to Docker Hub. If the build happens on another branch it will be treated as a test build (during the development of a MR) the deployment will be to the GitLab registry for the repo.

Having the builds and deployment only occur when there are relevant file changes allows for greatly reduced build times (from building with cached versions of pulled images to reuse layers) and then also decreases the number of deployments that are necessary (which decreases the number of times new images will be pulled by end users).

It is very important to note that this MR is really only happening in large part from the help of @gstark who was very patient and helpful with examples and feedback.

Edited by Matthew Feickert

Merge request reports