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

fix: replace deprecated Docker Hub registry FQDN

parent 88db8df4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ include:
  - component: $CI_SERVER_FQDN/to-be-continuous/php/gitlab-ci-php@4.9.2
    # 2: set/override component inputs
    inputs:
      image: "registry.hub.docker.com/library/php:8-apache" # ⚠ this is only an example
      image: "docker.io/library/php:8-apache" # ⚠ this is only an example
```

### Use as a CI/CD template (legacy)
@@ -35,7 +35,7 @@ include:

variables:
  # 2: set/override template variables
  PHP_IMAGE: "registry.hub.docker.com/library/php:8-apache" # ⚠ this is only an example
  PHP_IMAGE: "docker.io/library/php:8-apache" # ⚠ this is only an example
```

## Global configuration
@@ -44,7 +44,7 @@ The PHP template uses some global configuration used throughout all jobs.

| Input / Variable | Description                            | Default value     |
| --------------------- | -------------------------------------- | ----------------- |
| `image` / `PHP_IMAGE` | The Docker image used to run PHP <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/library/php:latest` <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-PHP_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-PHP_IMAGE) |
| `image` / `PHP_IMAGE` | The Docker image used to run PHP <br/>:warning: **set the version required by your project** | `docker.io/library/php:latest` <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-PHP_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-PHP_IMAGE) |
| `project-dir` / `PHP_PROJECT_DIR` | The PHP project root directory         | `.`               |

## Managing PHP extensions
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
    {
      "name": "PHP_IMAGE",
      "description": "The Docker image used to run PHP - **set the version required by your project**",
      "default": "registry.hub.docker.com/library/php:latest"
      "default": "docker.io/library/php:latest"
    },
    {
      "name": "PHP_PROJECT_DIR",
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ spec:
  inputs:
    image:
      description: The Docker image used to run PHP - **set the version required by your project**
      default: registry.hub.docker.com/library/php:latest
      default: docker.io/library/php:latest
    project-dir:
      description: The PHP project root directory
      default: .