Gitlab

CI/CD Part 2: Docker Images and Container Registries

A three-stage Dockerfile for a Python app, and CI jobs that push the image to Gitlab's container registry and AWS ECR.

CI/CD Part 1: Gitlab Pipelines and Package Registries

How a .gitlab-ci.yml file is put together, how to make jobs run only on certain merge request events, and how to set up .pypirc and .netrc tokens so a pipeline can build a Python package and push it to a Gitlab package registry.