diff --git a/README.md b/README.md index 2b760db91ca4b921fe6eb5a3bd9a910f8feaf68c..dc377aee037cc328e459cc6ee8f388a58f205b5c 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The Maven template uses some global configuration throughout all jobs. | Name | description | default value | | --------------------- | -------------------------------------- | ----------------- | -| `MAVEN_IMAGE` | The Docker image used to run Maven <br/>:warning: **set the version required by your project** | `maven:latest` | +| `MAVEN_IMAGE` | The Docker image used to run Maven <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/library/maven:latest` | | `MAVEN_PROJECT_DIR` | Maven projet root directory | `.` | | `MAVEN_CFG_DIR` | The Maven configuration directory | `.m2` | | `MAVEN_OPTS` | [Global Maven options](http://maven.apache.org/configure.html#maven_opts-environment-variable) | `-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=${MAVEN_CFG_DIR}/repository -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true` | diff --git a/kicker.json b/kicker.json index 3a38e076e013e96ef3fa17d672663ea31e2371b9..4271bab9f960bee8bb0e0e92f2f9fecbdffe9298 100644 --- a/kicker.json +++ b/kicker.json @@ -7,7 +7,7 @@ { "name": "MAVEN_IMAGE", "description": "The Docker image used to run Maven - **set the version required by your project**", - "default": "maven:latest" + "default": "registry.hub.docker.com/library/maven:latest" }, { "name": "MAVEN_PROJECT_DIR", diff --git a/templates/gitlab-ci-maven.yml b/templates/gitlab-ci-maven.yml index 90588c562eaf53d184c67f07c2f79404e42520a4..6b2aee40133fc4b6435bd2b817944a3478932960 100644 --- a/templates/gitlab-ci-maven.yml +++ b/templates/gitlab-ci-maven.yml @@ -48,7 +48,7 @@ variables: MAVEN_PROJECT_DIR: . # Maven image (can be overridden) - MAVEN_IMAGE: "maven:latest" + MAVEN_IMAGE: "registry.hub.docker.com/library/maven:latest" # default production ref name (pattern) PROD_REF: '/^(master|main)$/'