Skip to content

Commit

Permalink
Added php-nginx-fpm to build workflow. (#71)
Browse files Browse the repository at this point in the history
* Added php-nginx-fpm to build workflow.
* Excluded PHP 7.4 and 8.0 from nginx build.
  • Loading branch information
markdorison authored Dec 20, 2023
1 parent bbe2ece commit 9050303
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
service: ["php-apache-node"]
service: ["php-apache-node", "php-nginx-fpm"]
php: [7.4, 8.0, 8.1, 8.2, 8.3]
exclude:
- service: php-nginx-fpm
php: 7.4
- service: php-nginx-fpm
php: 8.0

steps:
- name: Checkout code
uses: actions/[email protected]
Expand Down
1 change: 0 additions & 1 deletion services/php-nginx-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ RUN git clone https://github.com/tj/n.git \
&& rm -rf /tmp/pear \
&& docker-php-ext-enable redis \
&& docker-php-ext-install zip \
&& a2enmod headers rewrite \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& git config --global --unset user.name \
Expand Down

0 comments on commit 9050303

Please sign in to comment.