Image


Image

Choose which container image is used for your job

Our runner configuration defaults to alpine

Use official images

Do not use community images

Avoid maintaining custom image


Hands-On

Use image instead of before_script

  1. Add image: golang:1.19.2 to all jobs
  2. Remove before_script from all jobs

See new .gitlab-ci.yml:

git checkout 160_gitlab_ci/040_image -- '*'