Commit 56572462 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: replace deprecated Docker Hub registry FQDN

parent 17542be0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ The pre-commit template uses some global configuration used throughout all jobs.

| Input / Variable      | Description                            | Default value     |
| --------------------- | -------------------------------------- | ----------------- |
| `pre-commit-image` / `PRE_COMMIT_IMAGE` | The Docker image used to run `pre-commit` | `registry.hub.docker.com/library/python:3-alpine` <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-PRE_COMMIT_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-PRE_COMMIT_IMAGE) |
| `pre-commit-image` / `PRE_COMMIT_IMAGE` | The Docker image used to run `pre-commit` | `docker.io/library/python:3-alpine` <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-PRE_COMMIT_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-PRE_COMMIT_IMAGE) |

## Jobs

@@ -152,7 +152,7 @@ To build a preconfigured image, use the following guidelines:
Bellow is an example `Dockerfile` to build such an image:

```Dockerfile
FROM registry.hub.docker.com/library/python:3-alpine
FROM docker.io/library/python:3-alpine

RUN mkdir /build

+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
    {
      "name": "PRE_COMMIT_IMAGE",
      "description": "The Docker image used to run `pre-commit`\n\n:information_source: You may build your own pre-configured image to speed-up things and prevent the tool and plugins from being pip-installed (see documentation).",
      "default": "registry.hub.docker.com/library/python:3-alpine"
      "default": "docker.io/library/python:3-alpine"
    }
  ],
  "features": [
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ spec:
  inputs:
    pre-commit-image:
      description: "The Docker image used to run `pre-commit`\n\n:information_source: You may build your own pre-configured image to speed-up things and prevent the tool and plugins from being pip-installed (see documentation)."
      default: registry.hub.docker.com/library/python:3-alpine
      default: docker.io/library/python:3-alpine
    pre-commit-args:
      description: "Additionnal arguments for the `pre-commit run` command"
      default: ''