Skip to content

Commit

Permalink
[PHP] Don't build node 22+ on php <=8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Den4ik committed Feb 9, 2025
1 parent 5f22409 commit 047138c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image-general-php-fpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
build-args: |
ENV_SOURCE_IMAGE=ghcr.io/${{ github.repository_owner }}/php-fpm
PHP_VERSION=${{ matrix.php_version }}
NODE_VERSION=${{ (matrix.php_version <= '7.4' && matrix.node_version > 20) && '20' || matrix.node_version }}
NODE_VERSION=${{ (matrix.php_version <= '8.0' && matrix.node_version > 20) && '20' || matrix.node_version }}
push: ${{ github.ref == 'refs/heads/main' && !env.ACT }}
tags: ghcr.io/${{ github.repository_owner }}/php-fpm:${{ matrix.php_version }}-node${{ matrix.node_version }}

Expand Down

0 comments on commit 047138c

Please sign in to comment.