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

fix: replace deprecated Docker Hub registry FQDN

parent f935deee
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ include:
  - component: $CI_SERVER_FQDN/to-be-continuous/gradle/gitlab-ci-gradle@2.9.4
    # 2: set/override component inputs
    inputs:
      image: "registry.hub.docker.com/library/gradle:jdk11" # ⚠ this is only an example
      image: "docker.io/library/gradle:jdk11" # ⚠ this is only an example
```

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

variables:
  # 2: set/override template variables
  GRADLE_IMAGE: "registry.hub.docker.com/library/gradle:jdk11" # ⚠ this is only an example
  GRADLE_IMAGE: "docker.io/library/gradle:jdk11" # ⚠ this is only an example
```

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

| Input / Variable | Description                                                                                                                                                                            | Default value             |
| ----------------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------|
| `image` / `GRADLE_IMAGE` | The Docker image used to run Gradle <br/>:warning: **set the version required by your project**                                                                                        | `registry.hub.docker.com/library/gradle:latest`           <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-GRADLE_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-GRADLE_IMAGE) |
| `image` / `GRADLE_IMAGE` | The Docker image used to run Gradle <br/>:warning: **set the version required by your project**                                                                                        | `docker.io/library/gradle:latest`           <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-GRADLE_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-GRADLE_IMAGE) |
| `cli-opts` / `GRADLE_CLI_OPTS` | Additional Gradle options used on the command line                                                                                                                                     | `None`                    |
| `cli-bin` / `GRADLE_CLI_BIN` | The location of the gradle binary. If you prefer using a [gradle wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html) you should override this (for e.g. `gradlew`) | `gradle`                  |
| `user-home` / `GRADLE_USER_HOME` | The gradle user home                                                                                                                                                                   | `$CI_PROJECT_DIR/.gradle` |
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
    {
      "name": "GRADLE_IMAGE",
      "description": "The Docker image used to run Gradle - **set the version required by your project**",
      "default": "registry.hub.docker.com/library/gradle:latest"
      "default": "docker.io/library/gradle:latest"
    },
    {
      "name": "GRADLE_CLI_OPTS",
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ spec:
  inputs:
    image:
      description: The Docker image used to run Gradle - **set the version required by your project**
      default: registry.hub.docker.com/library/gradle:latest
      default: docker.io/library/gradle:latest
    cli-opts:
      description: Additional Gradle options used on the command line
      default: ''