Skip to content
Snippets Groups Projects
Commit 2ef742c4 authored by Bertrand Goareguer's avatar Bertrand Goareguer Committed by Cédric OLIVIER
Browse files

fix: "Add registry name in all Docker images"

parent 4a9c3a38
Branches
Tags
No related merge requests found
......@@ -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` |
......
......@@ -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",
......
......@@ -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)$/'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment