Skip to content

Use Kaniko to build images in GitLab CI

Following up from !28225 (comment 314418693)

As documented in https://docs.gitlab.com/ee/ci/docker/using_kaniko.html, it is possible to use Kaniko to build and push images, without the downsides of DinD.

This also potentially gives the added advantage of being able to run the build jobs on forks, as the job can be executed on a non docker tagged runner.

The jobs that are directly using DinD image to build images are:

  • all gitlab:assets:compile *
  • build-qa-image

/cc @gl-quality/eng-prod

Edited by Albert Salim