Commit d9497cfb authored by Makovkin Denis's avatar Makovkin Denis
Browse files

Switch to another composer audit tool

parent e4973ab0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
.run_composer_audit: &run_composer_audit |
  if [ -e $COMPOSER_INSTALL_DIR/composer.lock ];
  then
    /root/.composer/vendor/bin/security-checker security:check $COMPOSER_INSTALL_DIR/composer.lock
    /usr/bin/local-php-security -path $COMPOSER_INSTALL_DIR/composer.lock
  fi

.run_composer_install_prod: &run_composer_install_prod |
@@ -41,7 +41,7 @@

.build_composer:
  stage: build
  image: registry.cetera.su/adm/ansible/php_composer:buster
  image: registry.cetera.su/adm/ansible/php_composer:buster_2
  variables:
    COMPOSER_INSTALL_DIR: ${CI_PROJECT_DIR}
  script: