diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index aa6fbb7..c8c985a 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -81,14 +81,6 @@ jobs: run: make st - - name: Build the stack Apache PHP-74 and hack with default.conf - run: cp mysql.env.example mysql.env && cp docker/nginx/config/templates/site.test.conf-apache-php-74 docker/nginx/config/default.conf && sed -i 's/server_name site.test/server_name _/g' docker/nginx/config/default.conf && cp docker/apache-php-74/config/templates/site.test.conf docker/apache-php-74/config/sites-enabled/default.conf && sed -i 's/ServerName site.test/ /g' docker/apache-php-74/config/sites-enabled/default.conf && cp templates/docker-compose-apache-php-74.yml docker-compose.yml && make upb - - name: Test Nginx localhost - run: docker run --network container:docker-compose-php_nginx_1 appropriate/curl -s --retry 1 --retry-connrefused http://super:demo@localhost/ | grep '7.1' - - name: Stop containers - run: make st - - - name: Build the stack Apache PHP-71 and hack with default.conf run: cp mysql.env.example mysql.env && cp docker/nginx/config/templates/site.test.conf-apache-php-71 docker/nginx/config/default.conf && sed -i 's/server_name site.test/server_name _/g' docker/nginx/config/default.conf && cp docker/apache-php-71/config/templates/site.test.conf docker/apache-php-71/config/sites-enabled/default.conf && sed -i 's/ServerName site.test/ /g' docker/apache-php-71/config/sites-enabled/default.conf && cp templates/docker-compose-apache-php-71.yml docker-compose.yml && make upb - name: Test Nginx localhost @@ -103,3 +95,11 @@ jobs: run: docker run --network container:docker-compose-php_nginx_1 appropriate/curl -s --retry 1 --retry-connrefused http://super:demo@localhost/ | grep '5.6' - name: Stop containers run: make st + + + - name: Build the stack Apache PHP-74 and hack with default.conf + run: cp mysql.env.example mysql.env && cp docker/nginx/config/templates/site.test.conf-apache-php-74 docker/nginx/config/default.conf && sed -i 's/server_name site.test/server_name _/g' docker/nginx/config/default.conf && cp docker/apache-php-74/config/templates/site.test.conf docker/apache-php-74/config/sites-enabled/default.conf && sed -i 's/ServerName site.test/ /g' docker/apache-php-74/config/sites-enabled/default.conf && cp templates/docker-compose-apache-php-74.yml docker-compose.yml && make upb + - name: Test Nginx localhost + run: docker run --network container:docker-compose-php_nginx_1 appropriate/curl -s --retry 1 --retry-connrefused http://super:demo@localhost/ | grep '7.4' + - name: Stop containers + run: make st