The image is for running safety. The image is based on python:3.7-alpine3.8.
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