Verified Commit c8fd5f8e authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Allow image tag to be overriden in CI template

parent 2a704f5c
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
variables:
  PRE_COMMIT_TAG:
    value: 2.20.0-py311
    description: An image tag for the version of pre-commit to use for checks


Pre-Commit Hooks:
  stage: .pre
  image: docker.kodo.org.uk/ci-images/pre-commit:2.20.0
  image: docker.kodo.org.uk/ci-images/pre-commit:$PRE_COMMIT_TAG
  rules:
  - if: $CI_PIPELINE_SOURCE == "push"
  variables: