Skip to content

Add gitlab ci file

Max Orefice requested to merge 0.85.6 into master

Step 2 of gitlab-org/security-products/codequality#11 (closed)

What does this MR do?

This MR adds a .gitlab-ci.yml config file.

It allows us to build a docker image of the project and release new version for it.

Questions?

I had to setup 3 new environments variables for this project:

  • CI_REGISTRY_IMAGE: registry.gitlab.com/gitlab-org/ci-cd/codequality
  • CI_REGISTRY_USER: morefice@gitlab.com
  • CI_REGISTRY_PASSWORD: API_TOKEN_GENERATED_BY_GITLAB

Did I do it correctly? What is the preferred way of building docker images and push them to the registry?

Edited by drew stachon

Merge request reports