youtube image
From YouTube: Least Privilege Container Builds with Kaniko on GitLab

Description

How to build containers on GitLab CI without Docker privileged mode.

Companion working example project: Kaniko Docker Build - https://gitlab.com/guided-explorations/containers/kaniko-docker-build
If you find this helpful, please give the video a thumbs up and "star" the project :)

Join Darwin (DarwinJS) to review the concepts and some working example code that you can use directly!

Table of Contents:

00:00 - Intro
00:22 - Defining the Problem
01:44 - The Kaniko Solution
02:09 - Guided Exporations are Working Examples
03:04 - GitLab CI w/ Kaniko Walkthough
05:25 - Environment Scopes for Variables
06:52 - Adding CI Metadata Labels
07:11 - Adding Ad Hoc Tags at Build Time
08:06 - Kaniko Bug Workaround
08:47 - CI Pipeline Logs
09:22 - Viewing Results in Registries
09:47 - Tested Runner Types
10:05 - Links and Wrapup