Commit cc4e4ad7 authored by Bertrand Goareguer's avatar Bertrand Goareguer Committed by Cédric OLIVIER
Browse files

fix: "Add registry name in all Docker images"

parent d03ee0fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ The SQLFluff template uses some global configuration used throughout all jobs.

| Name                  | description                            | default value     |
| --------------------- | -------------------------------------- | ----------------- |
| `SQLFLUFF_IMAGE`      | The Docker image used to run SQLFluff  | `sqlfluff/sqlfluff:latest`   |
| `SQLFLUFF_IMAGE`      | The Docker image used to run SQLFluff  | `registry.hub.docker.com/sqlfluff/sqlfluff:latest`   |
| `SQLFLUFF_WORKING_DIR`| SQLFluff working directory, scope of configuration and sql files used | `.` |

sqlfluff needs to set a [dialect](https://docs.sqlfluff.com/en/stable/dialects.html) you can do it by setting `SQLFLUFF_LINT_ARGS` to `--dialect my_dialect` or provide a [configuration file](https://docs.sqlfluff.com/en/stable/configuration.html) in your repository.
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
    {
      "name": "SQLFLUFF_IMAGE",
      "description": "The Docker image used to run SQLFluff",
      "default": "sqlfluff/sqlfluff:latest"
      "default": "registry.hub.docker.com/sqlfluff/sqlfluff:latest"
    },
    {
      "name": "SQLFLUFF_WORKING_DIR",
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ variables:
  TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"

  # Default Docker image (use a public image - can be overridden)
  SQLFLUFF_IMAGE: "sqlfluff/sqlfluff:latest"
  SQLFLUFF_IMAGE: "registry.hub.docker.com/sqlfluff/sqlfluff:latest"
  SQLFLUFF_WORKING_DIR: "."

  # default production ref name (pattern)