Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 6c7ace2f authored by Raphael JOIE's avatar Raphael JOIE
Browse files

use docker image in gitleaks image and prepare semver of pipelines

parent 429f751d
Branches
Tags v1.0.0-rc.1
1 merge request!6Resolve "create and keep in registry, Docker images for pipelines."
Pipeline #142575 passed
......@@ -101,11 +101,13 @@ This repository also provides useful Gitlab CI pipelines
include:
- project: 'digit-c4/dev/best-practices'
file: 'gitlab-ci/test-static-scan.yml'
ref: main
ref: v1.0
stages:
- test
test-static-scan-gitleaks:
stage: test
variables:
#SRC_PATH: "./"
```
......@@ -2,13 +2,9 @@
test-static-scan-gitleaks:
tags:
- docker
image: golang
before_script:
image: code.europa.eu:4567/digit-c4/dev/best-practices/test-static-scan-gitleaks:latest
# gitleaks the first best secret detection
# Tufflehog the second one
# source: https://arxiv.org/pdf/2307.00714.pdf
- apt-get install -y git --no-install-recommends
- git clone https://github.com/gitleaks/gitleaks.git
- cd gitleaks && make build && cd ../
script:
- ./gitleaks/gitleaks detect --source . -v
- gitleaks detect --source ${SRC_PATH:=./} -v
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment