Commit 21d0e682 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: replace deprecated Docker Hub registry FQDN

parent 44594fcf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ The Spectral template uses some global configuration used throughout all jobs.

| Input / Variable | Description                            | Default value     |
| --------------------- | -------------------------------------- | ----------------- |
| `image` / `SPECTRAL_IMAGE` | The Docker image used to run `spectral` | `registry.hub.docker.com/stoplight/spectral:latest` <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-SPECTRAL_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-SPECTRAL_IMAGE) |
| `image` / `SPECTRAL_IMAGE` | The Docker image used to run `spectral` | `docker.io/stoplight/spectral:latest` <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-SPECTRAL_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-SPECTRAL_IMAGE) |

## Jobs

+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
    {
      "name": "SPECTRAL_IMAGE",
      "description": "The Docker image used to run `spectral`",
      "default": "registry.hub.docker.com/stoplight/spectral:latest"
      "default": "docker.io/stoplight/spectral:latest"
    },
    {
      "name": "SPECTRAL_DOCUMENTS",
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ spec:
  inputs:
    image:
      description: The Docker image used to run `spectral`
      default: registry.hub.docker.com/stoplight/spectral:latest
      default: docker.io/stoplight/spectral:latest
    documents:
      description: Location of JSON/YAML documents to be linted. Can be either a file, a glob or fetchable resource(s) on the web
      default: '{,api/,src/main/resources/}*{openapi,oas,swagger,async}*.{json,yml,yaml}'