Olivier Massot 8 mesiacov pred
rodič
commit
8cccea78d4
1 zmenil súbory, kde vykonal 5 pridanie a 3 odobranie
  1. 5 3
      .gitlab-ci.yml

+ 5 - 3
.gitlab-ci.yml

@@ -13,12 +13,14 @@ cache:
     - ./vendor
     - ~/.composer/cache
 
+
 build_image:
   stage: build
   image: docker:latest
   services:
     - docker:dind
   variables:
+    CI_DEBUG_TRACE: "true"
     DOCKER_TLS_CERTDIR: ""
   before_script:
     - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
@@ -31,7 +33,7 @@ build_image:
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
 
 unit:
-  image: $CI_REGISTRY_IMAGE:latest
+  image: ${CI_REGISTRY_IMAGE}:latest
   stage: test
 
   script:
@@ -52,7 +54,7 @@ unit:
 #    - php bin/console d:s:v
 
 static_analysis:
-  image: $CI_REGISTRY_IMAGE:latest
+  image: ${CI_REGISTRY_IMAGE}:latest
   script:
     - php vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json  # Display code quality in MR
     - php vendor/bin/phpstan analyse -c phpstan.neon.dist
@@ -62,7 +64,7 @@ static_analysis:
       codequality: phpstan.json
 
 code_style:
-  image: $CI_REGISTRY_IMAGE:latest
+  image: ${CI_REGISTRY_IMAGE}:latest
   script:
     - php vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php