The image is for running safety.
The variable SAFETY_API_KEY can be used to set if you have a paid api key.
For more information: pyup safety
python-safety:
  stage: linting
  image: registry.gitlab.com/pipeline-components/python-safety:latest
  script:
    - safety check --full-report -r requirements.txt