CI: use local registry php image
This commit is contained in:
parent
9c0ead3640
commit
2be8d58509
|
@ -12,7 +12,7 @@ pipeline {
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--workdir /app \
|
--workdir /app \
|
||||||
-v ${env.WORKSPACE}:/app \
|
-v ${env.WORKSPACE}:/app \
|
||||||
php:8.1-cli \
|
registry.fakecake.org/php:8.1-cli \
|
||||||
php ./vendor/bin/phpunit
|
php ./vendor/bin/phpunit
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ pipeline {
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--workdir /app \
|
--workdir /app \
|
||||||
-v ${env.WORKSPACE}:/app \
|
-v ${env.WORKSPACE}:/app \
|
||||||
php:8.1-cli \
|
registry.fakecake.org/php:8.1-cli \
|
||||||
php -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G
|
php -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue