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

fix: "Add registry name in all Docker images"

parent 9a05c651
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ The Python template uses some global configuration used throughout all jobs. ...@@ -19,7 +19,7 @@ The Python template uses some global configuration used throughout all jobs.
| Name | description | default value | | Name | description | default value |
| -------------------- | ------------------------------------------------------------------------------------- | ------------------ | | -------------------- | ------------------------------------------------------------------------------------- | ------------------ |
| `PYTHON_IMAGE` | The Docker image used to run Python <br/>:warning: **set the version required by your project** | `python:3` | | `PYTHON_IMAGE` | The Docker image used to run Python <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/library/python:3` |
| `PYTHON_PROJECT_DIR` | Python project root directory | `.` | | `PYTHON_PROJECT_DIR` | Python project root directory | `.` |
| `PYTHON_BUILD_SYSTEM`| Python build-system to use to install dependencies, build and package the project (see below) | _none_ (auto-detect) | | `PYTHON_BUILD_SYSTEM`| Python build-system to use to install dependencies, build and package the project (see below) | _none_ (auto-detect) |
| `PIP_INDEX_URL` | Python repository url | _none_ | | `PIP_INDEX_URL` | Python repository url | _none_ |
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
{ {
"name": "PYTHON_IMAGE", "name": "PYTHON_IMAGE",
"description": "The Docker image used to run Python - **set the version required by your project**", "description": "The Docker image used to run Python - **set the version required by your project**",
"default": "python:3" "default": "registry.hub.docker.com/library/python:3"
}, },
{ {
"name": "PYTHON_PROJECT_DIR", "name": "PYTHON_PROJECT_DIR",
......
...@@ -52,7 +52,7 @@ variables: ...@@ -52,7 +52,7 @@ variables:
POETRY_VIRTUALENVS_IN_PROJECT: "false" POETRY_VIRTUALENVS_IN_PROJECT: "false"
PIPENV_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pipenv" PIPENV_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pipenv"
PYTHON_IMAGE: python:3 PYTHON_IMAGE: "registry.hub.docker.com/library/python:3"
# Default Python project root directory # Default Python project root directory
PYTHON_PROJECT_DIR: . PYTHON_PROJECT_DIR: .
...@@ -73,7 +73,7 @@ variables: ...@@ -73,7 +73,7 @@ variables:
SAFETY_ARGS: "--full-report" SAFETY_ARGS: "--full-report"
# Trivy tool # Trivy tool
PYTHON_TRIVY_IMAGE: aquasec/trivy:latest PYTHON_TRIVY_IMAGE: "registry.hub.docker.com/aquasec/trivy:latest"
PYTHON_TRIVY_ARGS: "--vuln-type library" PYTHON_TRIVY_ARGS: "--vuln-type library"
PYTHON_SBOM_OPTS: "--catalogers python-index-cataloger" PYTHON_SBOM_OPTS: "--catalogers python-index-cataloger"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment