Skip to main content
Integrate Binarly security scanning into your GitLab CI/CD pipeline.

Configuration File

Create .gitlab-ci.yml:

Required Variables

Configure in Settings → CI/CD → Variables: GitLab only passes Protected variables to pipelines on protected branches and tags. Pipelines on other branches get empty values.

GitLab-Specific Variables

The script uses these built-in GitLab variables:
  • $CI_PIPELINE_ID: unique pipeline identifier, used in the image name
  • $CI_PIPELINE_IID: pipeline number within the project, used in the image version
For detailed explanation of the verification logic, see Verify Results.