Commit 8e5732c0 authored by Simon Cornet's avatar Simon Cornet
Browse files

[ci] feat: add linting stage

parent 7f4882ee
Loading
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -5,15 +5,18 @@ variables:
  DOCKER_HOST: "tcp://localhost:2375/"
  DOCKER_TLS_CERTDIR: ""

stages:
  - "build"

build image:
build-image:
  stage: "build"
  image: "docker:27.3.1"
  services:
    - name: "docker:27.3.1-dind"
      command: ["--tls=false"]
  rules:

    # run only on push to default branch
    - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
    - when: "never"

  script:

    # login to container registry