Add .gitlab-ci.yml to automatically build and push all containers
We need to automatically build and push all the images of the git repo. It's important to build only those containers which are affected by the new changes pushed to the repository.
As we have the git repository in place, we can check for all changed files and based on those information implement a logic for (re-)building the relevant containers.
For example: If the following paths has changed
languages/golang/Containerfile
languages/python/Containerfile
languages/node/README.md
we should build golang
and python
containers, but not e. g. ruby
(which has no changed files at all) or in this case node
as the README.md
is not relevant for the container itself (this could be generally excluded directly in the .gitlab-ci.yml
)