Provide a Docker image or an installable package to lint a .gitlab-ci.yml file (e.g. before deployment to other projects)

Description

I have a common .gitlab-ci.yml file for several projects, that we develop and store in a sub-folder in a separate repository. We would like to lint that file each time there is a commit in a corresponding analysis job. But of course /ci/lint is an url, that requires to be logged-in and not a tool available in shell.

Proposal

I propose to provide an alpine based docker image, or an installable package of /ci/lint in a command-line.

Links / references