From ba56fc416c4d2b9293c5a01aea2d2628e9da5e46 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 30 Dec 2022 19:56:39 +0300 Subject: [PATCH] use local registry for CI images --- Jenkinsfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 93ffed8..1464a41 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,7 +29,7 @@ pipeline { docker run --rm \ --workdir /app \ -v ${env.WORKSPACE}/tt-rss:/app \ - php:8.1-cli \ + registry.fakecake.org/php:8.1-cli \ php ./vendor/bin/phpunit """ } @@ -37,11 +37,10 @@ pipeline { stage('phpstan') { steps { sh """ - # php -d memory_limit=-1 .... docker run --rm \ --workdir /app \ -v ${env.WORKSPACE}/tt-rss:/app \ - php:8.1-cli \ + registry.fakecake.org/php:8.1-cli \ php -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G """ } @@ -119,7 +118,7 @@ pipeline { docker run --rm \ --workdir /app \ -v ${env.WORKSPACE}/tt-rss:/app \ - phpdoc/phpdoc:3 \ + registry.fakecake.org/phpdoc/phpdoc:3 \ -d /app/tt-rss/classes \ -d /app/tt-rss/include \ -t /app/phpdoc/out \