Change GitLab's runners configuration to allow build and push of docker images using the CI
It is related to Issue 102.
The goal here is to be able to build and push docker images with GitLab's ci using either directly docker or podman as follows.
tags:
- docker
- bob
stage: build_image
image:
name: quay.io/podman/stable
before_script:
- docker info
script:
- docker build --tag docker.idiap.ch/bob/bdt:latest .
It is currently impossible to do it because of access right within the container. A change in the runner's configuration has to be made to run the container in privileged mode. An example is shown in the GitLab documentation.