diff --git a/.drone.yml b/.drone.yml index 297bb06..8eb26a4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,17 +1,27 @@ +clone: + git: + image: registry.fpfis.eu/drone-plugins/git:next + when: + event: [ push, pull_request, tag ] + git: + image: registry.fpfis.eu/drone-plugins/git + when: + event: [ deployment ] + workspace: base: /test path: task-runner services: web: - image: fpfis/httpd-php-ci:${PHP_VERSION} + image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci environment: - DOCUMENT_ROOT=/test/task-runner pipeline: composer-install-lowest: group: prepare - image: fpfis/httpd-php-ci:${PHP_VERSION} + image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci volumes: - /cache:/cache commands: @@ -25,7 +35,7 @@ pipeline: composer-install-highest: group: prepare - image: fpfis/httpd-php-ci:${PHP_VERSION} + image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci volumes: - /cache:/cache commands: @@ -36,13 +46,13 @@ pipeline: grumphp: group: test - image: fpfis/httpd-php-ci:${PHP_VERSION} + image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci commands: - ./vendor/bin/grumphp run phpunit: group: test - image: fpfis/httpd-php-ci:${PHP_VERSION} + image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci commands: - ./vendor/bin/phpunit