diff --git a/CHANGELOG.md b/CHANGELOG.md
index f7ff5740028ab6e01ee834047833f20007ab9cf7..c994c32281bb1578d88d0a28804957062a138a0c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+## [1.2.4](https://gitlab.com/to-be-continuous/gitleaks/compare/1.2.3...1.2.4) (2021-12-07)
+
+
+### Bug Fixes
+
+* replace obsolete --config-path= args by --config in gitleaks rules ([577e0c8](https://gitlab.com/to-be-continuous/gitleaks/commit/577e0c8b595d4e5ffa939a745a4ae2f5e7d9c775))
+
 ## [1.2.3](https://gitlab.com/to-be-continuous/gitleaks/compare/1.2.2...1.2.3) (2021-12-02)
 
 
diff --git a/README.md b/README.md
index 22fe0c10e2616001f4f07e820bd18c30ac2d3d6c..0a09470f845c0e6299926f22cb6fce452e0dd555 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ In order to include this template in your project, add the following to your `gi
 ```yaml
 include:
   - project: 'to-be-continuous/gitleaks'
-    ref: '1.2.3'
+    ref: '1.2.4'
     file: '/templates/gitlab-ci-gitleaks.yml'
 ```
 
diff --git a/templates/gitlab-ci-gitleaks.yml b/templates/gitlab-ci-gitleaks.yml
index 6fe14d5be9c30f796854f83b200b2cb792f8f6c9..add9eebda7e79d7da77a7977a1df9c33ba32ec94 100644
--- a/templates/gitlab-ci-gitleaks.yml
+++ b/templates/gitlab-ci-gitleaks.yml
@@ -188,7 +188,7 @@ stages:
     fi
   }
 
-  if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update gitleaks "1.2.3"; fi
+  if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update gitleaks "1.2.4"; fi
   unscope_variables
 
   # ENDSCRIPT
@@ -200,7 +200,7 @@ gitleaks:
     entrypoint: [""]
   services:
     - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
-      command: ["--service", "gitleaks", "1.2.3"]
+      command: ["--service", "gitleaks", "1.2.4"]
   stage: test
   variables:
     GIT_DEPTH: 0