In this guide, we will walk through setting up a standard DevOps pipeline in GitLab, using a hands-on example repository. This guide will help you understand the basic structure and workflow of a CI/CD pipeline without any security testing.
First, create an example repository in GitLab. This repository should contain the same files as your Docker hands-on demo.
The main file for managing your DevOps pipelines in GitLab is the .gitlab-ci.yml file. This file uses YAML syntax to define the stages and jobs of your pipeline.