From 47f16fd5eb3f71532b477fcb8a1ed1082cb8c31a Mon Sep 17 00:00:00 2001 From: Bertrand Goareguer <bertrand.goareguer@gmail.com> Date: Fri, 27 Jan 2023 08:21:21 +0000 Subject: [PATCH] fix: "Add registry name in all Docker images" --- README.md | 2 +- kicker.json | 2 +- templates/gitlab-ci-gitleaks.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 87edb73..d6c7139 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ They use the following configuration. | Name | description | default value | | --------------------- | -------------------------------------- | ----------------- | -| `GITLEAKS_IMAGE` | The Docker image used to run Gitleaks | `zricethezav/gitleaks:latest` | +| `GITLEAKS_IMAGE` | The Docker image used to run Gitleaks | `registry.hub.docker.com/zricethezav/gitleaks:latest` | | `GITLEAKS_RULES` | Gitleaks [configuration rules](https://github.com/zricethezav/gitleaks#configuration) to use (you may also provide your own `.gitleaks.toml` configuration file in your project). | _none_ (uses default rules) | | `GITLEAKS_ARGS` | [Options](https://github.com/zricethezav/gitleaks/wiki/Options) for a full Gitleaks analysis (on master or develop branches) | `--verbose` | diff --git a/kicker.json b/kicker.json index 86d1e55..3aa95d8 100644 --- a/kicker.json +++ b/kicker.json @@ -7,7 +7,7 @@ { "name": "GITLEAKS_IMAGE", "description": "The Docker image used to run Gitleaks", - "default": "zricethezav/gitleaks:latest" + "default": "registry.hub.docker.com/zricethezav/gitleaks:latest" }, { "name": "GITLEAKS_RULES", diff --git a/templates/gitlab-ci-gitleaks.yml b/templates/gitlab-ci-gitleaks.yml index 8a18e5c..dc35215 100644 --- a/templates/gitlab-ci-gitleaks.yml +++ b/templates/gitlab-ci-gitleaks.yml @@ -45,7 +45,7 @@ variables: TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" # Default Docker image (can be overridden) - GITLEAKS_IMAGE: "zricethezav/gitleaks:latest" + GITLEAKS_IMAGE: "registry.hub.docker.com/zricethezav/gitleaks:latest" GITLEAKS_ARGS: "--verbose" # default production ref name (pattern) -- GitLab