flx5 / nextcloud-full-image

MIT License
0 stars 0 forks source link

Test built image for PHP Warnings #3

Open flx5 opened 11 months ago

flx5 commented 11 months ago

Add test step to pipeline to make sure the following command prints the version without any php warnings. image_version="$(php -r 'require "/usr/src/nextcloud/version.php"; echo implode(".", $OC_Version);')"

In order to avoid regression bugs for https://github.com/nextcloud/docker/issues/2037

See also https://docs.docker.com/build/ci/github-actions/test-before-push/

flx5 commented 11 months ago

docker run --rm --entrypoint /usr/local/bin/php ghcr.io/flx5/nextcloud-full-image:v27.1.3 -r 'require "/usr/src/nextcloud/version.php"; echo implode(".", $OC_Version);'